WordPress.org

Ready to get started?Download WordPress

Forums

Simple Share Buttons Adder
[resolved] Some issues regarding twitter and facebook sharing (5 posts)

  1. ckubs
    Member
    Posted 1 year ago #

    Looked for something with a little more customization that all those sharing plugins with default buttons and found Shareaholic that's kinda bloated, Flare that I don't know if it has shortcode support and yours.
    This plugin is good, thoug I've had 2 issues with it:

    Solved first one with custom placement of sharing buttons by calling <?php echo do_shortcode('[ssba]'); ?>

    Second one is about twitter and facebook buttons. When I click to share on twitter the text to be shared looks like: mysite.com http://mysite.com/my-article. When I click to share on facebook since the plugin doesn't have any sort of popup option the needed content opens in a new page but shrinks my browser as it would be a pop-up and after I finish sharing and close that page i need to manually make it fullscreen again.

    http://wordpress.org/extend/plugins/simple-share-buttons-adder/

  2. David Neal
    Member
    Plugin Author

    Posted 1 year ago #

    Hey, thanks for giving the plugin a try, I hope you like it besides the couple of problems you've mentioned.

    Could you please provide a link to an example so I can investigate for you?

    As for the Facebook window-resizing issue, that must be browser-related, as I've not spotted that before myself. Which browser and version are you using please?

    Thanks,

    David

  3. Antigrav
    Member
    Posted 1 year ago #

    David,

    I also agree that this is a great plugin.

    I too am having the issue with twitter not pulling the post title like ckubs mentions above - it is currently pulling 'mysite.com http://mysite.com/my-article'

    An example can be seen at http://hypervocal.com/news/2013/brazilians-protest/

    The SSBA Twitter button is at the top left of the screen - it's the large button that reads "Share This On Twitter"

    Thanks,

    Steve

  4. Antigrav
    Member
    Posted 1 year ago #

    Any ideas on my issue above?

  5. David Neal
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    You could try editing the main simple-share-buttons-adder.php file (please take care when doing so!).

    Replacing line 654

    $strPageTitle = $_SERVER["SERVER_NAME"];

    with

    $strPageTitle = get_the_title($post->ID);

    This has been untested so please make a backup of the file before making the change!

    Thanks,

    David

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic