follow mejoin mesubscribe

Move the Genesis Framework Author Box

By default, the Genesis Author Box outputs directly after the post. To move it to an alternate location, you’ll first need to remove it from the original location using the following code in functions.php.

remove_action( 'genesis_after_post', 'genesis_do_author_box_single' );

To add it back to an alternate location, you would need to something like this, using one of the Genesis hooks:

add_action( 'genesis_after_post_content', 'genesis_do_author_box_single' );

Let’s say you already added an ad using the genesis_after_post_content hook and now you need to put these in order. You can use priority to determine the output order. From the WordPress Codex

An optional integer argument that can be used to specify the order in which the functions associated with a particular action are executed (default: 10). Lower numbers correspond with earlier execution, and functions with the same priority are executed in the order in which they were added to the action.

So, to hook the authorbox earlier in the output, use a lower priority like this:

 * Move the Author Box
 * @author Jen Baumann
 * @link
remove_action( 'genesis_after_post', 'genesis_do_author_box_single' );
add_action( 'genesis_after_post_content', 'genesis_do_author_box_single', 4 );
About Jennifer Baumann

I am an avid horseback rider, animal lover, and freelance designer. I love working with WordPress and Genesis and work for Copyblogger Media as a Technical Support Advocate.

Dream Whisper Designs is Powered by Genesis

StudioPress Premium WordPress Themes

Genesis empowers you to quickly and easily build incredible websites with WordPress. Whether you're a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go. It's that simple - start using Genesis now!

Take advantage of the 6 default layout options, comprehensive SEO settings, rock-solid security, flexible theme options, cool custom widgets, custom design hooks, and a huge selection of child themes ("skins") that make your site look the way you want it to. With automatic theme updates and world-class support included, Genesis is the smart choice for your WordPress website or blog.