- Messages
- 2
- Likes
- 0
- Points
- 1
I am building custom 404 and search result pages and was trying to use a short code in the template files: "echo do_shortcode("[services-and-location]");". This works for all posts and pages, but it appears the shortcodes are not active for the 404 (404.php) and search result (search.php) template files. I assume something like add_filter( '?NAME?', 'do_shortcode' ); would probably do it, but I can't figure out what name to add it to. Does anyone know how to get the WoodySnippet shortcodes working on the 404 and search result pages?