WordPress.org

Ready to get started?Download WordPress

Forums

Ultimate Tag Cloud Widget
[resolved] Show as bulleted list in alphabetical order instead of cloud? (7 posts)

  1. Rich Owings
    Member
    Posted 2 years ago #

    Is there a way to get this to output as a bulleted list in alphabetical order instead of as a tag cloud?

    http://wordpress.org/extend/plugins/ultimate-tag-cloud-widget/

  2. Rickard Andersson
    Member
    Plugin Author

    Posted 2 years ago #

    Hi

    This is not a native feature of the plugin but you can certainly achieve that result with just a bit of styling. I just did this on my own blog and this is the resulting tag list: http://dl.dropbox.com/u/10148893/crap/tag-cloud-list.png

    To change the appearance you just need to change some css, you can do this at the bottom of your themes style.css file and add something like this:

    .widget_tag_cloud {
      padding-left: 25px; /* add some space for the bullets */
    }
    
    .widget_tag_cloud span {
      display: list-item;
      list-style-type: disc
    }

    Changing the ordering of the tags can be done in the widget settings.

    If you're not able to change your CSS file you can always install some plugin which will help you add some CSS rules from WordPress admin.

    Hope this helps

    Mvh
    Rickard

  3. Rich Owings
    Member
    Posted 2 years ago #

    Thank you so much. I'm using the PHP code in my theme, but am still a noob at PHP. Can you tell me how to include multiple arguments? Right now I have...

    <?php
    $args = array( "size_from" => "14" );
    
    do_utcw( $args );
    ?>

    But what if I want also say "size_to" => "20"

  4. Rickard Andersson
    Member
    Plugin Author

    Posted 2 years ago #

    Hi

    You can supply multiple keys in the array:

    <?php
    $args = array(
      "size_from" => 14,
      "size_to" => 20
    );
    
    do_utcw( $args );
    ?>

    You can read more about arrays at the php.net site: http://se.php.net/manual/en/language.types.array.php

  5. Rich Owings
    Member
    Posted 2 years ago #

    Perfect. Thanks for the great plugin and for taking the time to offer support.

  6. santy143all
    Member
    Posted 2 years ago #

    Can anyone suggest how to set color of title of tag

  7. Rickard Andersson
    Member
    Plugin Author

    Posted 2 years ago #

    santy143all: I'm not sure what you are asking for, but it doesn't seem to be related to this topic. Please open a new topic if you have an unrelated question.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic