• 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

Author Box On Pages

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 › Author Box On Pages

This topic is: not resolved

Tagged: 3rd parameter, add_action

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 1 month ago by Ian.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 1, 2018 at 11:28 am #218528
    Ian
    Member

    I was looking for a way to add the author box to the bottom of Pages (not posts).

    I came across this code which needs to be added to the functions.php file which does work but can someone tel me what the 8 does on the first line.

    add_action( 'genesis_after_entry', 'genesis_do_author_box_on_page', 8 );

    add_action( 'genesis_after_entry', 'genesis_do_author_box_on_page', 8 );
    function genesis_do_author_box_on_page(){
      if ( ! is_singular('page') )
    		return;
    
    	if ( get_the_author_meta( 'genesis_author_box_single', get_the_author_meta( 'ID' ) ) )
    		genesis_author_box( 'single' );
    }
    April 1, 2018 at 11:51 am #218531
    Brad Dalton
    Participant

    3rd parameter for positioning priority


    Tutorials for StudioPress Themes.

    April 1, 2018 at 12:05 pm #218532
    Ian
    Member

    Thank You, I wasn't aware of that.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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

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