[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” : “”);
}https://www.ads-software.com/extend/plugins/configurable-tag-cloud-widget/
- The topic ‘[Plugin: Configurable Tag Cloud (CTC)] postcount in base.php’ is closed to new replies.