WordPress.org

Ready to get started?Download WordPress

Forums

Social Sharing Toolkit
Buttons not appearing when I add code to my template (4 posts)

  1. dmx09
    Member
    Posted 2 years ago #

    Hi,
    This looks like a great plugin and works well when using widgets. I need to avoid widgets on this occasion so have added the following code to my template. The 'Follow' code works well but for some reason the 'Share' code doesnt display.

    <?php
       $social_sharing_toolkit = new MR_Social_Sharing_Toolkit();
       echo $social_sharing_toolkit->create_bookmarks();
    ?>

    I might be missing something obvious but any thoughts appreciated.

    http://wordpress.org/extend/plugins/social-sharing-toolkit/

  2. benrich
    Member
    Posted 2 years ago #

    I have a similar problem (if anyone has a solution?)

    I've put the same code that dmx09 has quoted into my template. I'd like to show Facebook and G+. If in the plugin's backend I select anything except 'Do not display' for the 'Button Location' then the two icons appear. Great! however for my needs I want to select 'Do not display'.

    If I do this then the code above generates the Facebook icon but G+ has gone.

  3. OsaX Nymloth
    Member
    Posted 2 years ago #

    +1
    http://conflictmanagementservices.com/dev/
    I wanted FB/Twitter/G+ and Linked-in icons to appear in the footer, but they're not. No matter how I set the display options in plugin menu, only the two icons are displaying (fb and twitter, even when I check them to NOT be displayed at all).

    Anyone know what is causing this?

  4. Sammiikins
    Member
    Posted 2 years ago #

    I was having this same problem and figured out what was happening: you have to add the buttons you want under the Content tab; apparently the PHP code won't pull the options from the Share Widget tab.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic