Hello — I would like to remove the “Authors” and “Monthly” listings from the Site Map — how do I do this?
Make a copy of the page_archive.php file and put it in your child theme folder. Then edit your copied file to remove lines 49-52 (the forum keeps stripping out the copy of the code. Grrr…)
Basically it’s the h4 tag and the ul tag for the authors. It should be pretty obvious I hope.
Thanks but I don’t have a page_archive.php visible. I only have functions.php. Using the Executive theme.
You have to copy the page_archive.php file from the core Genesis theme folder. This is the template you used when you created your sitemap page.
When you put a template file in your child theme folder that duplicates one in the core Genesis theme folder then Genesis will use the one in your child theme folder instead of the one in the Genesis folder.
Chris — strike that! I looked in the Genesis directory and found the page_archive.php and copied it to the Executive Theme directory and modified it as you mentioned, and it worked.
Does anyone see any reason NOT to do it this way, or is it okay to do it this way?
Thanks, Chris! Happy New Year!
thank you all so much!
The topic ‘Remove Authors from Site Map’ is closed to new replies.
Are you a blogger, web designer, developer, or website owner looking to generate more income?