WordPress.org

Ready to get started?Download WordPress

Forums

WP to Buffer
[resolved] Hashtag Mechanism (2 posts)

  1. Douglas Karr
    Member
    Posted 1 year ago #

    This is a fantastic plugin, but the hashtags need a bit of work. Since many categories have spaces in them and are properly cased, I'd recommend the following change to line 239 in wp-to-buffer.php:

    $catName = strtolower(str_replace(" ", "", $cat->name));
    $catNames .= '#'.$catName.' ';

    This will put the category in lowercase and remove spaces. An example, the category "Social Media" would be updated to #socialmedia

    http://wordpress.org/extend/plugins/wp-to-buffer/

  2. n7 Studios
    Member
    Plugin Author

    Posted 1 year ago #

    Great idea - added to 1.1, available through wordpress.org shortly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic