• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2762

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Premium Access
  • Log in

How To Move Your Author Box in WordPress

Author box for WordPressIf you’re using the Woo framework, you’ll know that the author box position is above the subscribe & connect options.

If you’re not using Woo, you may find this tutorial on how to add an author box helpful.

If you want to move your subscribe & connect links closer to the end of your post, you’ll need to move your author box below your subscribe & connection links by adding some custom php code in your theme’s functions.php file.

Caution: Always backup your files before editing php code.

function woo_author() {

		// Author box single post page
		if ( is_single() && get_option( 'woo_disable_post_author' ) != 'true' )
			add_action( 'woo_post_inside_after', 'woo_author_box', 12 );

		// Author box author page
		elseif ( is_author() )
			add_action( 'woo_loop_before', 'woo_author_box', 10 );

	}

file_phpIf you’re not using a Woo theme, you could edit this php code and change the filters and actions (hooks) to match your themes.

Creating a unique site by customizing a Woo theme is easy as Woo will give you some of the custom code when you need to make changes to your layout & design of a woo theme.

The Woo framework also offers a Hook Manager so you can easily paste the code in any location you wish to create a custom function in.

If you can’t afford a theme made by one of the best premium WordPress theme creators, checkout the range of free woo themes which are all built on the premium Woo framework.

Subscribe for new Tutorials

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
 

Loading Comments...
 

You must be logged in to post a comment.