WordPress.org

Ready to get started?Download WordPress

Forums

Using Jetpack's ShareDaddy manually (4 posts)

  1. DoctorDR
    Member
    Posted 3 years ago #

    Has anyone managed to insert the Jetpack sharedaddy links manually, rather than being forced to accept the standard placements by default?

    In my WP multisite installation I have unset all the admin functions for each sub-site, but I would still like plugins such as sharedaddy to function without requiring it to be manually initiated for each site.

    What's the best way to accomplish this?

  2. csisson
    Member
    Posted 3 years ago #

    I inserted echo sharing_display(); on the single.php file and it worked for me.

  3. csisson
    Member
    Posted 3 years ago #

    Humm, sorry DoctorDR, maybe this is not what you're looking for.

  4. ssokolow
    Member
    Posted 2 years ago #

    Just a note for anyone else who comes across this thread on Google.

    sharing_display() only works as expected if you place it above where it would automatically appear.

    To place it below, you have to put these lines in your functions.php or, if that doesn't work, at the top of your template. (May be a side-effect of my child theme's functions.php being called early)

    remove_filter( 'the_content', 'sharing_display',19);
    remove_filter( 'the_excerpt', 'sharing_display',19);

Topic Closed

This topic has been closed to new replies.

About this Topic