WordPress.org

Ready to get started?Download WordPress

Forums

Not all tags showing up in sidebar (5 posts)

  1. CognitiveCombine
    Member
    Posted 5 years 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

  2. MichaelH
    Member
    Posted 5 years ago #

    Well the Template Tag, wp_tag_cloud(), by default, only displays 45 tags. So use the number=x parameter to increase that...

  3. CognitiveCombine
    Member
    Posted 5 years 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.

  4. MichaelH
    Member
    Posted 5 years ago #

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

  5. toobroketofix
    Member
    Posted 5 years 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.

Topic Closed

This topic has been closed to new replies.

About this Topic