WordPress.org

Support

Support » Plugins and Hacks » Configurable Tag Cloud (CTC) » [Plugin: Configurable Tag Cloud (CTC)] postcount in base.php

[Plugin: Configurable Tag Cloud (CTC)] postcount in base.php

  • Hello this plugin is very nice. Just one query I have in base.php. I want to add “postcount” within tag means before in below code which is in base.php of plugin. ((‘yes’ == $showcount ? ” $postcount” : “”) and (‘yes’ == $showcount ? ” $postcount” : “”))

    Can you pls help. Thanks in advance.

    if ($format==’list’) {
    $a[] = “<li class=\”ctc-tag-li\”><a href=\”$tag_link\” class=\”ctc-tag tag-link-$tag_id\” title=\””.attribute_escape(sprintf(__(‘%d topics’), $count)).”\”$rel style=\”font-size: “.$tag_weight
    .”$unit;”.(isset($tag_color) ? ” color: $tag_color;” : “”)
    .”\”>$tag”.(‘yes’ == $showcount ? ” $postcount” : “”).””;
    } elseif ($format==’drop’) {
    $a[] = “<option value=’$tag_link’>$tag”.(‘yes’ == $showcount ? ” $postcount” : “”).”</option>”;
    } else {
    $a[] = “<a href=\”$tag_link\” class=\”ctc-tag tag-link-$tag_id\” title=\””.attribute_escape(sprintf(__(‘%d topics’), $count)).”\”$rel style=\”font-size: “.$tag_weight
    .”$unit;”.(isset($tag_color) ? ” color: $tag_color;” : “”)
    .”\”>$tag”.””.(‘yes’ == $showcount ? ” $postcount” : “”);
    }

    http://wordpress.org/extend/plugins/configurable-tag-cloud-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
  • sorry in above post there is error of “tag means before”.

    I want to add $postcount before closing the a tag. (Pls check below)

    .”\”>$tag”.(‘yes’ == $showcount ? ” $postcount” : “”).””;

    and

    .”\”>$tag”.””.(‘yes’ == $showcount ? ” $postcount” : “”);

    Thanks,
    Sonali

    Any Solution ???

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Configurable Tag Cloud (CTC)] postcount in base.php’ is closed to new replies.
Skip to toolbar