Support » Plugin: Simple Share Buttons Adder » Share buttons and long post navigation

  • Hi, this has been a great plugin but I’ve run into a problem. I thought the plugin places the share buttons after the post. However, more precisely they are placed as the last item within the <article> tags, which isn’t normally a problem.

    However I’ve just started splitting my long posts over several pages and the plugin WP-Pagenavi also wants to add it’s navigation of ‘Part 1, 2, etc’ as the last item within the <article> tags.

    Clearly, they can’t both be the last item. At the moment the sharing buttons appear before the post navigation. You can see what I mean here:

    If you picture it, the post navigation and the article belong together whereas the social sharing buttons should appear after (such as at the top of comments.php). Could you tell me if there is somewhere in the code that I could tweak to re-position the sharing buttons?

Viewing 1 replies (of 1 total)
  • Update: I’ve found a solution, but it’s probably not the best way?

    I’ve added the shortcode to the start of comments.php so that the buttons appear after the navigation. In the css stylesheet for the child theme I’ve set display:none for the ssba div within <article>.

    So the web page looks right but does it mean that two requests are made to display the buttons and then one request is cancelled, so creating more work than necessary to display the page?

Viewing 1 replies (of 1 total)
  • The topic ‘Share buttons and long post navigation’ is closed to new replies.