tobias
Member
Posted 7 months 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
mikeque
Member
Posted 7 months 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.
mikeque
Member
Posted 6 months 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: