Having spent the last 2 days on this, and having tried every single plugin available I am well and truly stumped!!
I have a site that relies very heavily on custom fields (using the advanced custom field) plugin. Now I need to have a search function on the site that, when a term is entered, outputs all results from anywhere on the site (static pages, posts, custom fields etc).
Currently, my output code is this, which returns the title and date/time fine, but just gives me “…” instead of any actual content?
<? if(have_posts()): ?> <? while(have_posts()): ?> <? the_post() ?> <h2><?=the_title()?></h2> <p><? the_time('F j, Y') ?> at <? the_time(); ?> by <? the_author_link(); ?></p> <p><?php relevanssi_the_excerpt(); ?></p> <? endwhile; ?> <? endif; ?>
- The topic ‘[Plugin: Relevanssi – A Better Search] Custom Field Excerpt/Content not showing’ is closed to new replies.