WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. wonderm00n
    Member
    Posted 4 months 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)

    https://wordpress.org/plugins/features-by-woothemes/

  2. jameskoster
    Member
    Plugin Author

    Posted 3 months ago #

    Hey,

    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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.