Simple Likebuttons (Facebook, Google+, Twitter, ...)
[Plugin: Simple Likebuttons (Facebook, Google+, Twitter)] Moving position from ABOVE more... link to (3 posts)

  1. mike1305
    Posted 4 years ago #


    This is a wonderful and simple app. I really want to implement it on my company's blog, but find the position of the html kind of awkward. I was hoping there was an easy fix for these two items:

    1. Adding it to the TOP of a post (in single post view)
    2. Adding it AFTER the "read more..." link on the archive or post page.

    Any feedback would be greatly appreciated. :)



  2. bilobait
    Plugin Author

    Posted 4 years ago #

    Hi Mike,

    the function for adding the button-code to the wordpress-contentcode is in the file simple_likebuttons.php in line 49: function add_simple_likebuttons($strContent) { ... }.

    There you can handle the position of the buttons. This function gets the database content and adds the buttoncode at the end.

    This functionality is explained here: http://codex.wordpress.org/Plugin_API/Filter_Reference/the_content

    You only need to rearrange the buttoncode (getLikeButtonsHtmlCode() or getLikeButtonsHtmlCode('small')) to your position.

    I hope we could help you. Please answer if you need more help.

    Sincerly, Maik Balleyer

  3. mike1305
    Posted 4 years ago #

    Wonderful. This is exactly the help I needed. Thanks!!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Likebuttons (Facebook, Google+, Twitter, ...)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic