[Plugin: Search Everything] Doesn't search my custom fields
-
Although I’ve checked the option to search my meta-data the search still doesnt work on terms which are present in my custom fields.
Does anybody know how I could achieve this?I am using the latest Plugin-Version and the latest WordPress and I’m working right now locally with MAMP on a Mac.
I hope somebody can help me out here!
Thanks already.
-
Ok I added the code above to perform a new query.
After that I think the
codeline<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
and the followingshould actually list all the foudn things right?
Therefore I just added the query-performing code above from the site you indicated right before this line. this would overwrite any query performed, right?
But I still won’t get anything listed there…
[Code moderated as per the Forum Rules. Please use the pastebin]
Here would be my full codefragment important to this issue here…
+the whole thing between $cat and } else { can acutally be ignored. thats just some special thing to link authors to the authorpage to their div and not to the author-post itself…
Have you created a search-results page template as described on that codex page?
Have you created a search-results page template as described on that codex page?
Thats what ‘search.php’ is, right?
Some include a search.php template file. This is not a Search Page, it is merely a template that displays the search results.
I’m sorry – getting my pants in a twist – you are right
on that codex page there is also a lot about ‘searchpage.php’ which I dont have and dont need…
Maybe thats a little confusing here.But anyway. with all the other searches it works.
So I think my searchquery and everything is not wrong here.The following part with ..if have posts, while posts… babla
should reveal all posts (and pages) of that query, right?In my example I have a page with several custom fields displayed:
http://www.literaturundkunst.net/impressum/
If I search for ‘ZKBKCHZZ80A’ which is some content of a custom field in this page (at the bottom of the page) I get this result;¨
http://www.literaturundkunst.net/?s=ZKBKCHZZ80A
Which says that 1 result was found but it would not get displayed…
If I perform some other searches it works quite nicely..
- The topic ‘[Plugin: Search Everything] Doesn't search my custom fields’ is closed to new replies.