Support » Plugins and Hacks » [Resolved] Hashtag Mechanism

[Resolved] Hashtag Mechanism

  • 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


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