I'm using a WooTheme called PixelPress, and its homepage is a mess out of the box with Sharing on the homepage. I used the code to disable sharing in excerpts:
function jptweak_remove_share() {
remove_filter( 'the_excerpt', 'sharing_display',19 );
}
add_action( 'loop_end', 'jptweak_remove_share' );
This helped, but when I use the code to place the sharing buttons via the template for just the homepage, they work, but share the most recent blog post, rather than the homepage.
if ( function_exists( 'sharing_display' ) )
sharing_display( '', true );
Is there a way to force the link used by this code to use the homepage URL?
Site is here: http://changingeyewear.com
Note. I'm using the standard the_content sharing on the rest of the site, which is fine. I'm just having trouble getting the homepage sharing buttons to share the homepage URL.
Thanks,
Michael