Features by WooThemes
[resolved] Remove from search or even hability of reaching via permalink (2 posts)

  1. wonderm00n
    Posted 1 year ago #

    I don't want the features to appear on search results or even the user to be able to reach them via their permalink.

    This is supposed to be used as little spinets of information and not as full pages/posts.

    How can I disable them to show up on search results?

    How can I avoid people to reach them via their permalinks? (without creating a specific template on my theme and redirecting people to the homepage)


  2. jameskoster
    Plugin Author

    Posted 1 year ago #


    You can filter the post type args (woothemes_features_post_type_args) to change has_archive from true to false to disable archives. Take a look at line 112 of class-woothemes-features.php for more info.

    I'm afraid a redirect is all I can think for the single pages. Take a look at this question over on stack for an example of how to do this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Features by WooThemes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.