Tuesday, March 5, 2013

Show Label Count of Category Label (Blogger)

When I applied a new template to blogger, the category label count disappears.
So, I searched google and found this site on blogger tricks that shows how to customize labels.
http://dummies.bloggertipsandtricks.com/

So, I applied it in the expression expr:href='data:label.url'.

The original expression doesn't have label count.
  <a expr:href='data:label.url'><data:label.name/></a>  

Then, I applied the trick to show the label count.
  <a expr:href='data:label.url'><data:label.name/></a>  
  <span dir='ltr'>(<data:label.count/>)</span>    
Cheers!

0 comments:

Post a Comment