Okay, that was quite easy. So, if your custom feed URL (non-pretty) is http://example.com/?feed=wpse63760_custom_feed
, then the conditional tag would be used as such:
if ( is_feed( $feeds="wpse63760_custom_feed" ) ) {
// So what's the conditional content?
} else {
// This is shown everywhere else
}
Related Posts:
- How to use is_feed() to target a category feed?
- How to remove feeds from WordPress totally?
- Getting /feed/ behind post urls in Google Webmaster Tools; crawler errors? [closed]
- Disable comments feed, but not the others
- How to read the xml file in wordpress?
- Is it usual to have a non-Feedburner feed on a WordPress blog?
- Disable links in header (feeds and such)
- Troubleshooting fetch_feed and SimplePie
- How to exclude posts of a certain format from the feed
- Possible to use conditionals within add_feed() callback?
- Combining RSS Feeds and Sorting with fetch_feed
- wp_remote_get vs. fetch_feed ? which is the better for performance?
- how to publish a feed of posts with a certain custom field value?
- Combining multiple RSS feeds using fetch_feed
- Yoast custom feed template as add_feed function?
- Restrict certain posts from being sent to the feed subscribers
- How to display LinkedIn feed/company updates into WordPress site? [closed]
- Duplicate Posts using Feedwordpress
- Is there a way to have a dual WP feed (full/partial)?
- Custom WordPress Feeds operators?
- How to retrieve the list of all posts ever published via the feed?
- Update feed more frequently
- w3 total cache keeps minifying my feeds
- Adding a featured image to atom feed
- Add custom profile info into Feed
- How to filter out an iframe from feed
- combine multiple feeds with fetch_feed and display blog titles for each item?
- RSS feed validity and Google Adsense
- Possible to get feed to return latest updated posts rather than latest published?
- Removing the FeedBurner redirect
- Options for authenticated feeds
- RSS feed for deleted posts and comments
- Server stressed by /feed
- How to get feed for pages?
- How can i realize a semi-private research diary blog
- WordPress feeds and publish date
- Editing feed for thumbnails and link
- feed appearing different in the three main browsers
- Fetch_Feed cURL error 28
- Using fetch_feed to retrieve items with non common titles
- How to output WordPress feed in a non-WordPress site?
- Change conditionally a variable value for different feeds
- How do I modify the ‘more’ link in a feed
- fetch_feed Performance Issue
- Googlebot adding /feed at the end of my URLs
- Check if feed is fetched successfully
- How can I set my RSS feed time to update feed quicker
- Why is my comment feed broken?
- Require authorization for access to RSS feeds, but leave posts public
- after server upgrade, if I enable custom permalinks, my /feed stops working
- Using links (link_rss field) as the source for fetch_feed
- wordpress feed link change
- Why I don’t see all my post in feed in WordPress
- How can I force fetch_feed to return real URL?
- Default Wordress RSS Widget does not work on a subdomain site, works when I move it
- Expire Header for custom XML feed
- My RSS feed is not working
- How to remove feeds from WordPress totally?
- a lot of errors with feedwordpress
- Does the FD Feedburner plugin create feeds for categories
- fetch_feed function works on template index.php but not in plugin/wp-admin
- Need correct results from 6 rss (fetch_feed)
- How can I rename the element to in my RSS?
- Password Protect a Podcast Feed?
- How to fetch all the movie details from IMDB
- Does it makes sense to have {post}/feed?
- Custom RSS causing timeout for website
- Rewrite custom post type rss feed links
- Disable Comments Feed
- Insert Featured image from Feed
- Manipulating cookie on specific taxonomy archive page
- Adding posts of custom type into the main feed
- How can I remove certain HTML tags from the RSS feed?
- Featured Image Size Conditional Tag?
- How to check if a post “does not have term” in conditional statement?
- How can I link a CSS file only on single posts?
- Check if home.php and set home.php as page_on_front
- Include only recents custom posts in WP rss feed
- Conditional tags or Multiple files
- How do I get link URLs from the WordPress links backend into an array?
- Conditional for a Single Post That Belongs to a Category?
- Conditional menu display
- Sub-category single post styling?
- Custom JSON feed rewrite
- do code if current url = value
- add_feed rewrite overwriting standard permalinks
- Gravity Forms, multiple conditions in shortcode
- Remove conditional tag from header
- Multidimensional Array
- Woocommerce getting top level category parent and make all sub categories have the same template and menu
- conditional statement for profile pages
- Automatically insert H2 on h2 tags on WordPress post
- $_SESSION Not working after X amount of page views
- How to edit wordpress post without republishing
- Generate aggregated feed from member blogs
- if is_page(‘slug’)
- strange conditional tag behaviour [duplicate]
- Weird html output of single_cat_title – is not inside of the html element?
- Issues trying to add a href statment with PHP into a PHP Echo Statement [closed]
- advanced custom fields: repeater field within conditional statement [closed]