In case it helps anyone…
I had misunderstood – the feeds argument of ‘rewrite’ was merely about the formatting of feed URLs (to use rewriting).
What I want is not to have a feed URL output in the <head>
of my custom post type pages. The only way I have found to do this, is using
remove_action( 'wp_head', 'feed_links_extra', 3 );
although this will suppress the feed in other circumstances (categories etc), not just for my custom post type. If anyone knows how to do what I want I’d love to hear from you!
Toby
Related Posts:
- Add Custom Fields to Custom Post Type RSS
- How to Make a Separate RSS Feed for Each Custom Post Type
- Rewrite custom post type rss feed links
- How can I generate a RSS feed based on a custom WP_Query?
- feed links for custom post type pages
- Custom post types – RSS lastBuildDate issue
- How to remove CPT comment feed from head?
- How to change the quantity of feeds in custom post type?
- disable /feed/ for custom post type
- Add Taxonomy Values Within a Custom Post Type RSS Feed
- Adding posts of custom type into the main feed
- How can we disable a custom post type archive page but enable its feed?
- Disable feeds for specific custom post types
- How to make custom post type feed title = taxonomies?
- Include only recents custom posts in WP rss feed
- Custom taxonomy in custom post RSS feed
- How to use has_archive but disable feed per post type?
- Display custom fields from custom posts in RSS feed
- What is best way to prevent access to Custom Post Types unless authenticated when the post type has an archive and is publicly queryable?
- Is it possible to have a custom post type with feed but without the archive?
- How can I show 1 featured post in a styled element, and the next few below differently styled
- 404 in custom post type feed with mistake permalink
- Custom rewrite to fetch feed data
- Creating separate feeds for custom post types
- How to fetch custom post types with its full data on wordpress?
- wp-includes does not contain a feed template
- wp3 custom post types rss
- Disable permalinks, but allow RSS feeds
- WordPress feed only shows first page of category
- Get link for feed of specific post type AND taxonomy
- Changing the RSS feed titles not working
- display posts, pages and custom post types from another wordpress site
- Using save_post to replace the post’s title
- How do I safely change the name of a custom post type?
- limit selection of custom taxonomies to one?
- why doesn’t the_content() work in this {single-custom_post_type.php} page?
- functions.php conditional tag only for custom post type
- Get monthly archives for custom post type
- How to get dynamically custom post type that are under a certain category
- How to show related posts by category or custom post type?
- Custom Taxonomy returns no posts
- Display taxonomy term only if there’s a value
- Get all taxonomies for all post types
- How to make custom post meta wp_editor translatable?
- Lock post meta block at the bottom of a custom post type
- Linking three taxonomies with ACF
- How do I set the link in the Custom Post Type admin menu?
- How to List Thumbnails based on Custom Categories
- After updating a page, all pages on the site used the index.php template
- Meta_query with relation ‘OR’ killing server CPU
- How to post twitter like updates on wordpress
- custom posts on different page
- How to add pagination to wp_query [duplicate]
- Custom Post Types and independent Categories – complex Taxonomy
- WordPress Ignoring My Custom Post Type Templates?
- Storing posts from query and accessing later via AJAX call
- Give a permalink to Custom Post Types without title
- Return one unique custom post type result when it shares a custom taxonomy in WP_QUERY?
- Custom Tag Description unable to display just below and outside of the Loop
- Custom post type + category archive page
- Custom Post Type Archive Error, Takes Last Post as Title and Doesn’t Work
- Adding the_content() in custom template email
- set permalink for CPT
- Post 2 Post: Getting connected ‘person’ from post author
- My archive-posttype.php template is not loading
- Does WP have a global of $id?
- Check if post has specific tag_ID in custom post type
- Global custom meta box
- custom post type vs. conditionally displaying meta boxes for specific terms?
- data-type=”” … needed post tags stripped of characters
- Add first letter of titles to array, then compare arrays
- Bootstrap accordion looping through posts incorrectly
- Get post ID of either existing post or new post
- Create a simple Testimonial page
- next page with custom post
- What should I learn to develop event management in wordpress? [closed]
- What is the best way to manage small blocks of content on my home page?
- How to sort WP_Query by a custom text field (written as a date dd/mm/yyyy)
- Auto update publish date of CPT Post if default post custom field value match to cpt post CF Value
- Custom post type rewrite url structure with taxonomy and sub taxonomy
- Hide the update button from edit view in wordpress custom post type
- Standard Page Child of CPT Not Found (404)
- Custom Post Type parent/child relationship rewrite rules for permalinks
- Query posts based on user preferences
- call a function when insert and update a custom post type
- How can I remove “Add new” button on custom post type
- WordPress custom post type
- How to have working breadcrumbs with several taxonomies associated with a custom post type
- Custom Post type archives / categories give 404
- Yearly Archive from a custom date metabox (Event Start Date)
- Custom options for a Custom post type
- 404 with Custom Post Type
- Custom loop won’t work, can’t find problem
- link posts to custom post type
- Add top-level menu pointing to a different custom post type?
- custom post type not getting archived?
- Most appropriate way to display CPT’s by children terms of custom taxonomies while retaining desired permalink structure?
- See the process of creating a taxonomy and tell me where I made a mistake
- Navigation won’t update to show full path to single post
- post__in select all custom posts and not the selected array of ids