Tagged: search results page
finally I launched my site http://goo.gl/zE9U4 and realised, I forgot to test the search function
The result displays shortcuts instead displaying the content of them.
I’m extensivly using reusable content for showing content which is similar to many products.
Is there a way to get it to work on the search results page as well?
Try adding the following at the end of your functions.php file:
add_filter( 'the_excerpt', 'shortcode_unautop');
add_filter( 'the_excerpt', 'do_shortcode');
The topic ‘shortcuts instead of content in search results’ is closed to new replies.