Support » Fixing WordPress » [Jetpack] Moving Sharing Icons Above Content

  • Hello,

    I’m trying to move the sharing icons above the start of every post-page content. Currently by default, the sharing icons for each individual post are set to show up after content, but I also want one before content.

    They said if you want to have sharing icons above the start of every content, you must…

    Find the file for the location where you’d like the sharing icons to appear and insert the following code in the area you want the Sharing or Likes buttons to appear:

    if ( function_exists( ‘sharing_display’ ) ) {
    sharing_display( ”, true );
    }

    if ( class_exists( ‘Jetpack_Likes’ ) ) {
    $custom_likes = new Jetpack_Likes;
    echo $custom_likes->post_likes( ” );
    }

    I don’t know what file to edit, and where to place the code…

    Any help would be much appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Jetpack] Moving Sharing Icons Above Content’ is closed to new replies.