Support » Plugin: WordPress to Buffer » Hashtag Mechanism

  • Resolved Douglas Karr

    (@douglaskarr)


    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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Hashtag Mechanism’ is closed to new replies.