Hi, today i give you a quick method to create a simple sitemap page for your WordPress page. As you’ll see it only will take you a few minutes to do it. Let’s go !
First thing to do is to go inside your theme folder, it’s under wp-content/themes. Then duplicate the page.php file and rename it something like template-sitemap.php.
Then, open it in any code editor and add at the very first line this between PHP tags:
/*
Template Name: Sitemap
*/
and then simply replace the_content() by this code:
Leave a Reply
You must be logged in to post a comment.