• Resolved Guillermo77

    (@guillermo77)


    I like this plugin Jeremy, thanks, maybe you can have some options for remove share from excerpts or posts. So you no need use the functions.php for remove it.
    Because if you no have available use sharing in posts, you no can use the shorcode in posts for exp.

    I recommend in the description plugin write that you need available the place for use the shortcode. And one link to the function for remove it:

    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 );
    }

    add_action( ‘loop_end’, ‘jptweak_remove_share’ );

    (I only remove the content and left the excerpt)

    Thanks!! 🙂 I am new here.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Idea’ is closed to new replies.