Add sitemap to 404 page as php
-
My apologies if this has already been posted, I couldn’t find it when searching.
So I want to add the sitemap to my 404 and search page however the only option I can see is to use the shortcode provided. I tried to utilise the
<?php echo do_shortcode("[shortcode]"); ?>
code but it seemed to break my site as the 404 page displayed the fatal “The site is experiencing technical difficulties.” message. Looking for another way to do this. Many thanksThe page I need help with: [log in to see the link]
- The topic ‘Add sitemap to 404 page as php’ is closed to new replies.