• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Remove Authors from Site Map

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Remove Authors from Site Map

This topic is: resolved

Tagged: remove Authors, Site Map

  • This topic has 8 replies, 3 voices, and was last updated 12 years, 4 months ago by fiddles5.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • December 28, 2012 at 8:27 am #7880
    fiddles5
    Member

    Hello -- I would like to remove the "Authors" and "Monthly" listings from the Site Map -- how do I do this?

    http://mywholelifehealthcare.com.previewdns.com/site-map/

    thank you!

    December 28, 2012 at 11:31 am #7908
    Chris Cree
    Participant

    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.

    December 28, 2012 at 11:48 am #7911
    fiddles5
    Member

    Thanks but I don't have a page_archive.php visible. I only have functions.php. Using the Executive theme.

    December 28, 2012 at 11:51 am #7912
    Chris Cree
    Participant

    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.

    December 28, 2012 at 11:52 am #7914
    Chris Cree
    Participant

    Oh, and I found out how to get the code to show. I think. This is what you will need to remove from that template:

    <h4><?php _e( 'Authors:', 'genesis' ); ?></h4>
    		<ul>
    			<?php wp_list_authors( 'exclude_admin=0&optioncount=1' ); ?>
    		</ul>
    December 28, 2012 at 11:55 am #7916
    fiddles5
    Member

    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!

     

    December 28, 2012 at 12:01 pm #7920
    Chris Cree
    Participant

    I've been working with these themes since 2007 and the first iteration of Revolution well before Genesis existed. It's the right way to do it. 😉

    December 28, 2012 at 12:05 pm #7924
    wpsmith
    Member

    Chris is right on! Great job Chris!


    Travis Smith | Recommended StudioPress Developer & Contributor
    WP Smith | @wp_smith | GitHub

    Due to the forums, please paste code using Pastebin, JS Fiddle (for JavaScript) or GitHub.
    How to use Firebug for Designers by SixRevisions

    December 28, 2012 at 12:20 pm #7928
    fiddles5
    Member

    thank you all so much!

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Remove Authors from Site Map’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble