WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Search Everything] Dont search Pages doesnt work. (3 posts)

  1. Tobias Jordans
    Member
    Posted 5 years ago #

    Hi,

    I am testing search-everything 5 with my wp 2.7.1 and tried to deactivate the option "search_pages" ("Durchsuche jede Seite (nicht passwortgeschützt)") which is active on default.
    Now its inaktive but this example-page still shows in the search results http://fly.ingsparks.de/index.php?s=vorwort

    Anybody experiencing a similar problem?

    thanks

  2. mikeque
    Member
    Posted 5 years ago #

    I have too experienced this problem and am looking for a solution. In my case it seems that Pages are assigned the default Post category and come up in the search results as if they were posts.

  3. mikeque
    Member
    Posted 5 years ago #

    I found a partial solution: Add this line just inside the loop:
    <?php if (is_search() && ($post->post_type=='page')) continue; ?>
    It is described here:
    http://wordpress.org/support/topic/204945?replies=17#post-991229

    This seems to work on filtering the actual results, although I am left with the pagination all screwed up, since the pagination does not know the results have been filtered:

Topic Closed

This topic has been closed to new replies.

About this Topic