WordPress.org

Forums

Relevanssi - A Better Search
Relevanssi showing hidden posts (8 posts)

  1. bgunsberger
    Member
    Posted 4 years ago #

    Hi,

    I use the plugin 'Simply Exclude' to hide certain page from the default WP search results. However, it seems that Relevanssi is showing these posts. Is there a way to get Relevanssi to respect the visibility flag on these posts? I'd rather not have to provide a long list of page id's to hide them.

    Thanks

    http://wordpress.org/extend/plugins/relevanssi/

  2. Mikko Saari
    Member
    Plugin Author

    Posted 4 years ago #

    Sorry, I checked and the way Simply Exclude works is simply incompatible with Relevanssi. Making the two work together would require major changes to one of them.

  3. bgunsberger
    Member
    Posted 4 years ago #

    Thanks. Can you suggest any other way of easily excluding pages?

  4. Mikko Saari
    Member
    Plugin Author

    Posted 4 years ago #

    Function that uses relevanssi_hits_filter to check whether pages are ok to show and if not, removes them from hits.

  5. bgunsberger
    Member
    Posted 4 years ago #

    So how do other plugins do it for the default WP search?

  6. Mikko Saari
    Member
    Plugin Author

    Posted 4 years ago #

    Beats me, all I know Relevanssi is not the default WP search (and that's why it works) and Simply Exclude relies on that.

  7. thomask
    Member
    Posted 3 years ago #

    You can look on my solution here http://wordpress.org/support/topic/plugin-relevanssi-a-better-search-solved-feature-easier-selection-of-what-to-not-search?replies=1

    if you want to keep your simply exclude, you just probably need to modify the meta key they use for excluding

  8. Mikko Saari
    Member
    Plugin Author

    Posted 3 years ago #

    Relevanssi Premium has this very useful exclude checkbox on every post edit page as well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Relevanssi - A Better Search
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags