Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Simple Share

    (@davidoffneal)

    Hi,

    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.

    Thanks,

    David

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

    Thread Starter wastl2000

    (@wastl2000)

    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.

    single.php

    (....)
    	<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]'); ?>
    
    </span>
    
        <div class="postcontent">
    (..)))

    Thread Starter wastl2000

    (@wastl2000)

    @david
    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: https://www.trickytrails.com/schneenachten-mitten-im-april/

    Plugin Author Simple Share

    (@davidoffneal)

    Hey,

    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!

    David

    Thread Starter wastl2000

    (@wastl2000)

    Awesome! Thanks! ?? It was the “float” option that I didn’t know… ??

    Plugin Author Simple Share

    (@davidoffneal)

    No problems!! Great to see it working as you’d like ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Show Buttons next to date’ is closed to new replies.