• Hi there,

    I am trying to set up a tag cloud and add it to my index page. I have added a widget in admin, but it is not adding where I place the followinf code:

    <?php wp_tag_cloud(‘smallest=8&largest=22&number=30&orderby=count’); ?>

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Where are you placing that code?

    If you are using the Tag Cloud Widget, the tag cloud would appear in your sidebar.

    Thread Starter thetoolman

    (@thetoolman)

    I am placing it in my sidebar now, but all it does is show the title of the widget, im my case “tags” and then shows nothing underneath it. Also, it removes all my other sidebar features such as pages, categories etc.

    You shouldn’t need to put any code in if you are using the Tag Cloud Widget. If you want to put code in a Widget you will want to get Otto’s php code widget.

    As for losing features in your sidebar, typically themes are coded so that if widgets are activated, then the rest of the sidebar.php stuff is ignored.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘tag cloud not appearing correctly.’ is closed to new replies.