Custom Title for Your RSS Feeds
Sets the title feed readers and podcast apps show for your feeds, for example "Acme Blog" instead of the full site name and archive name.
Opens WPIDE on
Code
// Title shown in feed readers.
$wpide_feed_title = 'Acme Blog';
add_filter( 'get_wp_title_rss', function ( $title ) use ( $wpide_feed_title ) {
return '' !== trim( $wpide_feed_title ) ? $wpide_feed_title : $title;
} );
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.