• 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

Add author name to Posts Page

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 › Add author name to Posts Page

This topic is: not resolved

Tagged: .post-info, academy pro, entry-header, post_author_posts_link

  • This topic has 4 replies, 3 voices, and was last updated 3 years, 10 months ago by malton.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 16, 2018 at 1:24 pm #219026
    wpqu1123
    Member

    I'm using the Academy Pro theme and I'd like to add the author name to the Posts page.

    Is it possible to get a guide on how to do this? Any help much appreciated.

    April 17, 2018 at 12:11 am #219040
    Brad Dalton
    Participant

    Please link to your posts page.

    By default, the author link is added on all archive page types.


    Get Help – Book Consultation.

    April 17, 2018 at 1:42 am #219041
    wpqu1123
    Member

    Sure - here's the link. Thank you.

    April 17, 2018 at 2:45 am #219042
    Brad Dalton
    Participant

    Line 492 functions.php you have this code which has removed the author shortcode.

    add_filter( 'genesis_post_info', 'academy_post_info_filter' );
    function academy_post_info_filter($post_info) {
    
    	$post_info = 'posted on [post_date] [post_edit]';
    
    	return $post_info;
    
    }
    

    You need to modify this code using conditional tags so it displays the author on your posts page.

    Here's the default code https://my.studiopress.com/documentation/snippets/entry-header-html5/customize-the-entry-header/


    Get Help – Book Consultation.

    March 26, 2019 at 4:41 pm #490297
    malton
    Member

    Thank you that is the perfect answer!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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