• Resolved simonhagger

    (@simonhagger)


    First off, many thanks for your efforts with this plugin – it is excellent and very well put together.

    In order to give me full control over how the tags look I have changed your render.php file as follows:

    $terms[] = sprintf(
    ‘%s<%s class=”tag-link-%s utcw-tag utcw-tag-%s” href=”%s” style=”font-size:%s%s”%s>%s</%s>%s’,
    $this->config->prefix,
    $tag,
    $term->term_id,
    $term->slug,
    $term->link,
    $term->size,
    $color,
    $title,
    $displayName,
    $tag,
    $this->config->suffix
    );

    This way I can utilise the tag classes “utcw-tag” and “utcw-tag-slugname” in my CSS to do very specific styling should I so desire in a cascade manner.

    Please could you consider rolling this into the next plugin update so that I don’t lose it if I upgrade?

    Thank you.

    https://wordpress.org/plugins/ultimate-tag-cloud-widget/

Viewing 3 replies - 1 through 3 (of 3 total)
  • This seems like a reasonable addition, will include it in the next version.

    If you have a github account you can make a pull request with this change, otherwise I can just add it when I’m working on the next version.

    Just created a github issue for this addition: https://github.com/rickard2/utcw/issues/60

    Thinking about it, is .utcw-tag really neccessary? Couldn’t you just use .widget_utcw a { .. } in your stylesheet?

    Thread Starter simonhagger

    (@simonhagger)

    Technically .utcw-tag is superfluous, you can target it as suggested. I just like that as a general “family” tag which is almost self documenting in CSS. The additional tag with the slug suffix is the key to this request, as that’s where the usefulness comes in.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Request for enhancmement’ is closed to new replies.