• I like the use of Widgets and all… but with my particular theme all the dynamic widgets are shown at the top of the page and I would like to relocate the tag somewhere else. Any thoughts?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The Template Tag, wp_tag_cloud(), is what is used to display the tag cloud.

    To display the SensitiveTagCloud you have to call stc_widget(…). The first and only Parameter of this Function is an array with before_widget, before_title, … You can find the list in the wordpress file wp-includes/widgets.php

    Here is an Example how to call stc_widget(…):
    <?php
    $args = array(
    ‘name’ => ‘Sidebar 123’,
    ‘id’ => ‘sidebar-123’,
    ‘before_widget’ => ‘

    • ‘,
      ‘after_widget’ => “
    • \n”,
      ‘before_title’ => ‘<h2 class=”widgettitle”>’,
      ‘after_title’ => “</h2>\n”,
      );
      stc_widget( $args );
      ?>

      German Explanation: Answer to a comment by Tobias, 3. Dec

      To configure the sensitive-tag-cloud you have to do it the common way via the widget-menu in the adminpanel. After configuration you can remove the widget from your sidebar without loosing the configuration.

    Sorry, the example contained html-tags. They have been removed by this board. In before_widget and after_widget you have to open and close the li-tag. You can find the correct example code also on the Page linked above.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is there a way to use a tag to call the cloud instead of using it as a widget?’ is closed to new replies.