Custom excerpts/snippets not working with relevanssi_the_excerpt or the_excerpt
-
Hey there, first of all, LOVE this plugin — so awesome!
However, I’m having trouble getting the custom snippets to work.
My search.php file calls the loop. Inside the loop, I have a conditional checking if it’s a search:
if(is_search()):
Inside this condition I’m calling the Relevannsi excerpt or the WP excerpt if Relevanssi doesn’t exist.
if (function_exists('relevanssi_the_excerpt')) { relevanssi_the_excerpt(); }else{ the_excerpt(); }
However, the excerpts still don’t contain the search terms — here’s a screenshot.
Any idea what I did wrong to break it?
Thank you!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Custom excerpts/snippets not working with relevanssi_the_excerpt or the_excerpt’ is closed to new replies.