• 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

Show author immediately below Title

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 › Design Tips and Tricks › Show author immediately below Title

This topic is: not resolved

Tagged: byline

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 3 months ago by darrencknight.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • February 22, 2014 at 3:46 pm #91956
    darrencknight
    Member

    I have been searching all over trying to figure out how to move just the Author from the byline to show below the title of the post. I want to leave categories and comments below the post. I am using Genesis with a 3rd party child theme.

    toastwithcheese.com

    http://toastwithcheese.com
    February 22, 2014 at 5:23 pm #91963
    Brad Dalton
    Participant

    BY default its already below the entry title however you can use a filter to remove other post info links.

    add_filter( 'genesis_post_info', 'sp_post_info_filter' );
    function sp_post_info_filter($post_info) {
    	$post_info = 'by [post_author_posts_link] [post_edit]';
    	return $post_info;
    }
    

    Tutorials for StudioPress Themes.

    February 23, 2014 at 4:20 pm #92052
    darrencknight
    Member

    Thanks! That helped, but for some reason if there are any spaces in he author's name it breaks it onto multiple lines. I am able to add   next to "by" to fix the space before the author's name, but I am not sure how to fix it if there is a space within the authors name. Any idea?

    add_filter( 'genesis_post_info', 'post_info_filter' );
    function post_info_filter($post_info) {
    if ( !is_page() ) {
        $post_info = '[post_date] [post_author_posts_link before="by "]';
        return $post_info;
    }}
    February 23, 2014 at 7:31 pm #92062
    Brad Dalton
    Participant

    Good question.

    Maybe that needs to be done in the user profile rather than in the shortcode.


    Tutorials for StudioPress Themes.

    February 23, 2014 at 9:48 pm #92081
    darrencknight
    Member

    I figured it out just using css. I added white-space: nowrap; to the class and removed &nbsp from the shortcode posted above. Thanks foe the help.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ 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

© 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