Forums

How to display all tags not working (4 posts)

  1. habu71
    Member
    Posted 2 years ago #

    On this page: tags.php I want to display every tag I have on my site.

    I am using this code:

    <?php wp_tag_cloud('number=0&smallest=9&largest=72'); ?>

    The codex site says:
    number (integer) (optional) The number of actual tags to display in the cloud. (Use '0' to display all tags.)
    Default: 45

    so how come this doesnt work??

    Thanks

  2. Rafael Poveda - RaveN
    Member
    Posted 2 years ago #

    Assuming tags.php is a page template :)

    Just tested the code and this is working fine for me (3.0-alpha).

    It's in #11357 on trac. If you are using 2.9, you can fix it by hand by now (replacing the code attached in patches) and wait for 2.9.1 to get it :)

  3. habu71
    Member
    Posted 2 years ago #

    Yes it is a page template.

    If i upgrade to 2.9, which code in what file do i replace to make this functional?

    Thanks for the reply

    -H71

  4. Rafael Poveda - RaveN
    Member
    Posted 2 years ago #

    The easy way is to download and replace wp-includes/default-widgets.php and wp-includes/category-template.php.

    I have linked the downloads :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.