When moving from Wordpress to Blogger I found that blogger only has labels where wordpress has categories and tags.
Needleless to say,I found myself with tons of labels. I only wanted to display in my blog the labels that had allot of posts, In my case I wanted to display all labels that have 3 and above posts. This is what I did:
- Add the label widget
- Set the label widget to be sorted by frequency
- Change the code: go to “layout”
- Click on “Edit HTML” (I recommend backing up your template)
- Check the box “Expand Widget Templates”
- Find the label widget (use ctrl F and look for the word label1)
- Find the line: <b:loop values='data:labels' var='label'>
- Paste this line: <b:if cond='data:label.count > 2'> right below the above line. (note that you can change the number 2 to any number you like)
- Now we need to close the b tag, so find the line </b:loop> and above it paste this line: </b:if>
- Click “save template”

0 comments:
Post a Comment