• I edited the loop template to show full content instead of the excerpts. When it is set to show the excerpts it shows the Jetpack sharing buttons, however when set to show full content, it does not.

Viewing 1 replies (of 1 total)
  • Plugin Author Eric Amundson

    (@sewmyheadon)

    Hi @judytpm,

    That’s odd but I can think of a few reasons that could happen.

    First, to clarify – if all you do is change the_excerpt(); to the_content(); in posts_loop_template.php you lose your sharing icons, right?

    What theme are you using?

    Jetpack’s sharing docs are at:
    https://jetpack.com/support/sharing/

    You’ll notice under _How can I move where the sharing icons are displayed?_ that there are some filters that can be used to remove the sharing display from specific views. It’s possible that your theme is using one of these filters in the functions.php (or related) file.

    You’ll also see that there are a few functions later in that section that show how you can explicitly embed the sharing icons in your template (rather than through a hook).

    You might be able to add this:

    
    if ( function_exists( 'sharing_display' ) ) {
        sharing_display( '', true );
    }

    to the area of your posts_loop_template.php to get the icons to appear.

    Let me know how it goes.

    Eric

Viewing 1 replies (of 1 total)
  • The topic ‘Sharing Buttons Gone After Template Edit’ is closed to new replies.