WordPress.org

Ready to get started?Download WordPress

Forums

Simple Social Buttons
sharing some changes I have made (2 posts)

  1. bradvin
    Member
    Posted 2 years ago #

    Thanks for the great plugin. I added some small features that you can incorporate into your plugin if you feel like it, or not :)

    simple-social-buttons.php:
    http://pastebin.com/BvcK2y7b

    ssb-admin.php:
    http://pastebin.com/SiK48Xg8

    The features I added:

    * new checkbox in post/page metabox called "Force Show Before Content". I used this so I can by default not have the buttons appear (all settings unchecked) and then selectively choose which pages/posts to show them on. This is almost the opposite effect to the "Hide simple social buttons"

    * new admin setting to capture twitter username. This adds a "via @username" to the the tweet when the tweet button is clicked.

    * if the post or page contains a custom field named "hashtags", it appends that onto the tweet when the tweet button is clicked.

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

  2. xradar
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for your code! I'll check it and try to include in next version :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic