• Resolved thaigerweb

    (@thaigerweb)


    Hi Guys – firstly love the plugin, i use so many things.

    I have one thing I cannot resolve.

    I use a “static” home page on my site. I want the sharing buttons on the static home page but not on the updates page.

    It seems I can only have either on both or none. Let me show you what I mean and why

    Here is my static home page

    http://barspics.com

    Here is my updates page

    http://barspics.com/updates/

    As you can see the Updates page looks terribly cluttered up with many blocks of sharing buttons.

    I hope there is a solution as I dont want to lose them from my home page.

    Regards
    Andy

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter thaigerweb

    (@thaigerweb)

    FYI my current settings are

    Show buttons on

    Front Page, Archive Pages, and Search Results
    Posts
    Pages
    Media
    Meta Slider

    ALL boxes are ticked

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Try to add the following code to your theme’s functions.php file:

    function jptweak_remove_share() {
            if ( is_home() ) {
                    remove_filter( 'the_content', 'sharing_display',19 );
                    remove_filter( 'the_excerpt', 'sharing_display',19 );
            }
    }
    add_action( 'loop_start', 'jptweak_remove_share' );

    That should do the trick.

    You can read more about it here:
    http://jetpack.me/2013/06/10/moving-sharing-icons/

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sharing buttons off posts page’ is closed to new replies.