Unified text size in the WordPress tag cloud

A simple function to unify the text size of the tag cloud, simply because a non client was getting frustrated with their existing web providers with a “it simply can’t be done.” Well to achieve a unified text size in the WordPress tag cloud here’s how.

add_filter('widget_tag_cloud_args','style_tags');
function style_tags($args) {
$args = array(
     'largest'    => '10',
     'smallest'   => '10',
     'format'     => 'list',
     );
return $args;
}

About

A geek who likes to cook with wp ingredients!

Leave a Reply

Your email address will not be published. Required fields are marked *