Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I’d suggest removing the Jetpack sharing buttons, and then adding them back above the author bio box.

    As you mentioned in the other thread, Jetpack’s sharing buttons are added with a priority of 19. I don’t know how the author bio box is added, but you could run some tests and try to add the Jetpack sharing buttons at a priority of 5, 10, 15, until you find the correct priority.

    To remove the sharing buttons, start by following the first part of this tutorial:
    http://jetpack.me/2013/06/10/moving-sharing-icons/

    Then, add them back a bit before with a function like this one:

    function jeherve_early_sharing_buttons( $content ) {
    	$sharing = '';
    
    	if ( function_exists( 'sharing_display' ) ) {
    		$sharing = sharing_display( '', false );
    	}
    
    	if ( class_exists( 'Jetpack_Likes' ) ) {
    		$custom_likes = new Jetpack_Likes;
    		$sharing .=  $custom_likes->post_likes( '' );
    	}
    
    	return $content . $sharing;
    }
    add_filter( 'the_content', 'jeherve_early_sharing_buttons', 5 );

    Another alternative would be to move the sharing box instead, but only the plugin author will be able to help you with that.

    Let me know how it goes.

    Thread Starter jrothra

    (@jrothra)

    I changed it back to “not resolved” because I have not yet tested your recommendation (Easter weekend, so been quite busy). I hope to test it tonight and, if it works, I’ll mark this as resolved.

    Thread Starter jrothra

    (@jrothra)

    Following your directions worked.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Move Jetpack Share Buttons Above Bio Box (StarBox)’ is closed to new replies.