WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. bufny
    Member
    Posted 1 year 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)

    http://wordpress.org/extend/plugins/simple-social-buttons/

  2. Tom
    Member
    Posted 7 months ago #

    +1
    awesome idea, should be in the plugins options

  3. xradar
    Member
    Plugin Author

    Posted 7 months 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

About this Topic

Tags

No tags yet.