• I am trying to use the built in search widget (https://en.support.wordpress.com/widgets/search-widget/) feature in wordpress and am encountering an issue with the results displayed. The results display raw shortcode text instead of the html it is supposed to return. I apologize for the severe lack of information, if you would like to know anything else please let me know and I will do my best to provide it.

    • This topic was modified 6 years, 10 months ago by framesteel.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • What you’re seeing is an unfiltered post. Usually the content of the post is passed through the_content filter and those shortcodes are replaced.

    Maybe it’s a caching issue (you could try to disable the cache). It could also be that your search result template is using an echo $post->post_content; instead of calling the_content().

    Check with the developers of your theme.

    • This reply was modified 6 years, 10 months ago by birre.
Viewing 1 replies (of 1 total)
  • The topic ‘Built-in search widget search results issue’ is closed to new replies.