Forums

Touching up the Tag Cloud (3 posts)

  1. marcusfant
    Member
    Posted 5 months ago #

    I'm using the Twentyeleven theme for my site http://gametilldawn.com and I'm wanting to augment the tag cloud to be a bit smaller by changing the amount of data held within it. How do I go about that process within the .php file?

  2. premiumwp
    Member
    Posted 5 months ago #

    You can change how the tag cloud displays by adjusting / adding various parameters. See http://codex.wordpress.org/Function_Reference/wp_tag_cloud

  3. alchymyth
    The Sweeper
    Posted 5 months ago #

    try to use a filter in functions.php of your child theme:

    example:

    add_filter('widget_tag_cloud_args','gametilldawn_change_cloud_args');
    function gametilldawn_change_cloud_args($args) {
    $args = array('number'    => 30, 'largest'    => 25);
    return $args;
    }

    check the link posted by @premiumwp for possible arguments.

Reply

You must log in to post.

About this Topic

Tags