How To Limit Tag Cloud In WordPress Blog?

Posted by

Hi,

You can set Tag Cloud limit on your wordpress blog which is helpful to control page rank flow. In order to limit the Tag Cloud on wordpress blog, you have to edit the core file of the wordpress. First, find this file yourdomain.com/wp-includes/category-template.php and download it to your local machine using ftp.

Find This Code:
unction wp_tag_cloud( $args = ” ) {
$defaults = array(
’smallest’ => 8, ‘largest’ => 12, ‘unit’ => ‘pt’, ‘number’ => 45,

Now, change the 45 to equal the desired number of tag cloud. Now, save and upload the file again on the server.

NOTE: You have to fix this at every update of wordpress version.

Thanks,

Shane G.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.