Forums

Relevanssi - A Better Search
exlude pages doesnt work (10 posts)

  1. fuzzypiglet
    Member
    Posted 4 months ago #

    Tried adding a page ids and nothing happens.

    When i add code to my functions.php file to block that page it works fine.

    Ergo its a plug in problem?

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

  2. msaari
    Member
    Posted 4 months ago #

    Works for me. Did you remember to re-index? Just adding the page IDs on the options page doesn't remove the posts from index.

    Does the "exclude from search" option on post edit page work?

  3. fuzzypiglet
    Member
    Posted 4 months ago #

    yes i re-indexed and i dont have an option for "exclude from search" option on post edit page?

  4. msaari
    Member
    Posted 4 months ago #

    Sorry, forgot that's a Premium feature.

    Anyway, exclusion should work. Are you sure your search results come from Relevanssi? Check if the results change when you deactivate Relevanssi.

  5. fuzzypiglet
    Member
    Posted 4 months ago #

    hi
    I deactivated the plug in and nothing changes in the search results

  6. fuzzypiglet
    Member
    Posted 4 months ago #

    I just found all this code within my theme, I saw that you mention query_posts() is an issue and should be removed, but i'm not a coder and the code i did find seems a bit more complicated than just removing it all

    [Code moderated as per the Forum Rules. Please use the pastebin]

  7. msaari
    Member
    Posted 4 months ago #

    Ok, so you're not getting results from Relevanssi at all. Put the code in a pastebin and let me take a look, this can probably be fixed.

  8. fuzzypiglet
    Member
    Posted 4 months ago #

    can you see this:
    http://pastebin.com/c3Wg0m5j

    This is the content of my themes "theme.php" file, the lines with query_posts() are around 1381-1443

  9. msaari
    Member
    Posted 4 months ago #

    Making this theme work with Relevanssi might be possible, but it will also require a lot of work. So, no quick fix this time, sorry, I couldn't figure out the logic of your theme from that.

  10. fuzzypiglet
    Member
    Posted 4 months ago #

    okay, thanks for looking into it.

    I tried a few more search plug ins and none of them seem to work with this theme :/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags