Moving Jetpack's "Like" button
-
Hi, I followed your instructions here and put this code in my
functions.phpadd_action( 'loop_end', 'jptweak_remove_share' ); function jptweak_remove_share() { remove_filter( 'the_content', 'sharing_display',19 ); remove_filter( 'the_excerpt', 'sharing_display',19 ); remove_filter( 'the_content', array( 'Jetpack_Likes', 'post_likes' ), 30, 1 ); }Then I edited
single.phpto display the share and Like buttons where I wanted them – after the categories and tags. This works great with the sharing buttons, but it seems that the Like button is not being removed fromthe_content.Here is an example: http://blogjunkie.net/?p=3926
The Like button appears above and below the categories and tags. Only 1 of the buttons work, the other is stuck at Loading…
What’s the correct filter to apply to remove the Likes button please? Thanks
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
The topic ‘Moving Jetpack's "Like" button’ is closed to new replies.