Support » Themes and Templates » Not all tags showing up in sidebar

  • 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?

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Well the Template Tag, wp_tag_cloud(), by default, only displays 45 tags. So use the number=x parameter to increase that…

    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()

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Not all tags showing up in sidebar’ is closed to new replies.