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

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

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.

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems