CognitiveCombine
Member
Posted 10 months ago #
Hey all,
I tried searching the forum, I hope this question hasn't been hacked to death.
Not all my tags are showing up in the sidebar, so my questions is, is there a minimum number of posts that need to be added to a tag before it shows up in the sidebar?
http://www.cognitivecombine.com
If you look in my tag cloud (bottom of page) you will see that the Twitter tag is missing even though I have 1 post in this tag.
Thanks very much
Well the Template Tag, wp_tag_cloud(), by default, only displays 45 tags. So use the number=x parameter to increase that...
CognitiveCombine
Member
Posted 10 months ago #
Okay, I might try a template tag. Currently I am using the built in widget for the sidebar that displays the tag cloud.
Thanks for the tip.
The Tag Cloud Widget doesn't you so 'control' that, so you might consider downloading and installing Otto's php code widget.
Then use something like:
<?php wp_tag_cloud('smallest=8&largest=22&number=0&orderby=count'); ?>
The number=0 causes all tags to show.
See: wp_tag_cloud()
toobroketofix
Member
Posted 9 months ago #
Blog: Too Broke to Fix - WP 2.5.1 - Theme: MistyLook 3.6.1
There is a scientific explanation for most everything, so thanks MichaelH for solving my similar problem with tags suddenly not showing in the tag cloud on the sidebar.
I implemented the addition to the <?php wp_tag_cloud as you showed above, but changed the 'count' to 'name' from the instructions on the link. Tag clouds are unbelievably messy looking so might as well make them even messier.
Thanks muchly.