Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #25271


    finally I launched my site 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?

    Thank you



    Hi Tom,

    Try adding the following at the end of your functions.php file:

    add_filter( 'the_excerpt', 'shortcode_unautop');
    add_filter( 'the_excerpt', 'do_shortcode');




    Thank you Devin, worked!


    Glad we could help :)

    Let us know if you have any other questions or issues.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘shortcuts instead of content in search results’ is closed to new replies.