WordPress.org

Ready to get started?Download WordPress

Forums

Sk Multi Tag
Single to remove tag shows slug instead of name (1 post)

  1. woof
    Member
    Posted 2 years ago #

    Hello,

    in German many words are capitalized so I found that a single selected tag always was shown lower case in widget, while more tags were shown correctly. Looking into code I found that in this case (only) the slug (via $selectedTags) is used instead of retrieving the tags name. I wrote a little fix, but I guess this may be coded cleaner by someone else ;-)

    Replacing line 268 in file "sk_multitag.php" from version 1.0.2:

    $delTagName = urldecode($selectedTags);
    foreach ( $tags as $key => $tag ) {
      if ($delTagName == urldecode($tag->slug)) $delTagName = $tag->name;
    }
    $delTagLinks = '<a href="'.get_option('home').'/">'.$delTagName.'</a>';

    http://wordpress.org/extend/plugins/sk-multi-tag/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic