Simple Social Buttons
[resolved] Buttons at the start and at the end, but only if the post is long enough (3 posts)

  1. bufny
    Posted 3 years ago #

    A very short post, lets say 2 or 3 lines, with buttons placed both at the start and at the end of the post looks ugly. It will be useful an option (checkbox) to display the buttons in both places only if the length of the post exceeds a certain value (textbox).

    I made for this a very stupid hardcoded stuff:

    function insert_buttons($content) {
      // ...
      if($this->settings['afterpost'] && strlen($content) > 10000)


  2. Tom
    Posted 2 years ago #

    awesome idea, should be in the plugins options

  3. xradar
    Plugin Author

    Posted 2 years ago #

    Thanks for your advice. I'll do this in next release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Social Buttons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.