• I have created a custom post type that I would like to hide from search results using exclude_from_search. I do want to be able to access the custom post type entries via a feed like so:

    https://www.example.com/blog/custom-taxonomy-name/some-name/feed/

    When I add ‘exclude_from_search’ => true to my list of arguments in the custom post type array, I am no longer able to access the feed.

    Why is this, and how can I fix it?

  • The topic ‘exclude_from_search in custom post type makes feed disappear’ is closed to new replies.