• Im trying to insert the sharing buttons into my theme and I can’t figure out how to do it. I found this article
    http://jetpack.me/2013/06/10/moving-sharing-icons/
    But I can’t put this code into my theme directly or I just end up with code output on my page. What am I doing wrong?

    if ( function_exists( 'sharing_display' ) ) {
        sharing_display( '', true );
    }
    
    if ( class_exists( 'Jetpack_Likes' ) ) {
        $custom_likes = new Jetpack_Likes;
        echo $custom_likes->post_likes( '' );
    }

    https://ww.wp.xz.cn/plugins/jetpack/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Richard Archambault

    (@richardmtl)

    Hi! I’m not sure exactly what you’re doing; can you paste the code for the theme file on pastebin.com so I can take a look at what you’ve tried to do? Then paste the link here. Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Inserting sharing buttons into theme?’ is closed to new replies.