Simple Share Buttons Adder
[resolved] Show Buttons next to date (7 posts)

  1. wastl2000
    Posted 3 years ago #

    I would like to move the share buttons from the content area up. They should be placed right next to the category of the articke.

    e.g.: http://www.trickytrails.com/sonnenfensterbiken/ (they should be next to the category "mountainbike".

    => By Martin on Sat, 01. Jun 2013 23:25 on Mountainbike "BUTTONS HERE"

    Great Plugin! :)



  2. Simple Share
    Plugin Author

    Posted 3 years ago #


    In order to move the buttons there, you'll need to edit one of your theme's files and add the following code:

    <?php echo do_shortcode('[ssba]'); ?>

    I'm afraid without seeing the files in person I can't tell you exactly where, if you're going to need a little more help just let me know.



    P.S. sorry for the late reply I've been on holiday this week.

  3. wastl2000
    Posted 3 years ago #

    Hi David!

    Thanks for your Reply! I hope you had some great days off! :)

    I changed the single.php fo my theme according to your instructions and added the php code. Unfortunately it did not behave as expected. Instead of the buttons, "[ssba]" is printed to the page.


    	<span class="postmetadata"><?php if ($wpzoom_singlepost_author == 'Show') { ?><?php _e('By','wpzoom'); ?> <?php the_author_posts_link(); } if ($wpzoom_singlepost_date == 'Show') { ?> <?php _e('on','wpzoom'); ?> <?php the_time("$dateformat $timeformat"); } if ($wpzoom_singlepost_cat == 'Show') { ?> <?php _e('on','wpzoom'); ?> <?php the_category(', '); } ?> <?php edit_post_link( __('EDIT', 'wpzoom'), ' / ', ''); ?>
    <?php echo do_shortcode('[ssba]'); ?>
        <div class="postcontent">
  4. wastl2000
    Posted 3 years ago #

    I finally found the right file to place the code! :)

    There's just one tiny detail I'd like to change. I'd like to remove the line break before the share buttons.
    They should be placed in the same line as the text
    "BY MARTIN ON MON, 08. APR 2013 21:36 ON MOUNTAINBIKE / EDIT" Butons here (align right)
    see: http://www.trickytrails.com/schneenachten-mitten-im-april/

  5. Simple Share
    Plugin Author

    Posted 3 years ago #


    Sorry for the delay, well done for getting it where you want it!!

    Here's some CSS that should do the trick for you, you'll need to switch to the custom CSS option under the styling tab.

    #ssba {
    float: right;
    width: 115px;
    margin-top: -20px;
    text-align: right;
    #ssba img {
    width: 18px;
    padding: 2px;
    border: 0;
    box-shadow: none !important;

    Any problems just let me know!


  6. wastl2000
    Posted 3 years ago #

    Awesome! Thanks! :) It was the "float" option that I didn't know... :)

  7. Simple Share
    Plugin Author

    Posted 3 years ago #

    No problems!! Great to see it working as you'd like :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Share Buttons Adder
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.