Forum Replies Created
-
AuthorPosts
-
tim
ParticipantHi
I re-generated the index table, but without results. I also tried without the index table and followed your instructions.
Any ideas?Thanks,
Tim
tim
ParticipantThanks, I’m still working on that.
Now I have the another problem. I’ve worked with some random data to test the search engine (manual inserted). But now I have imported the real data (10 000 records) to my database (with WP All Import Pro). But none of the results are showing up. Any idea what the problem could be?
Thanks!
Kind regards,
Tim
tim
ParticipantGreat! Works perfect now.
Another little (or not) question: is it possible to show in the results the title and the custom taxonomy “auteur” (author)? I’ve already played a bit with this: https://wp-dreams.com/knowledge-base/result-templating/ but I don’t get it working for taxonomy terms.
Can I just use
[php]<?php
// This is the meta key
$key = ‘auteur’;// We only want to do this on posts/pages/custom post types
if ($r->content_type == ‘publicatie’) {
$meta_value = get_post_meta( $r->id, $key, true );
if ($meta_value != ”)
echo "<div class=’author’>" . $meta_value . "</div>";
}
?><?php if ($s_options[‘showdescription’] == 1): ?>
<?php echo $r->content; ?>
<?php endif; ?>[/php]
Or more something like “get_object_taxonomies”
or not?
Thanks!
Tim
tim
ParticipantHi
I’m trying to achieve the following:
When a visitor search for an author (“auteur” is a custom taxonomy), the search field should show the publications by that author. But for the moment only the author himself is displayed in the results, what I not want.
Can you give me some hint on how to proceed?
Thanks,
Tim
tim
ParticipantGreat! Thanks for the fast support.
-
AuthorPosts