12

Fed up with the 45 tag cloud limit on the standard WordPress install?

WordPress (.org self hosted) is one of my favorite applications.

It’s really slick – the gold standard for blogging. Well made and thought out.

Besides the WordPress developers, I salute the plugin developers too.

I have one small gripe however…. (well, two)….

WordPress installs with a default 45 tag limit in the tag cloud, along with a larger maximum font than I like.

I alter the code to make the tag cloud more useful for readers; which is why my tag cloud is much bigger than on many other blogs.

Every time WordPress is upgraded the defaults are reset. My tag cloud shrinks to 45 again.

Here is how I change the tag cloud. It is not difficult, but you do have to take care not to botch it up.

On your hosting server:

  1. Look for the wp-includes folder.
  2. Find the category-template.php file.
  3. Open the file in the edit view (my webhost makes this easy).
  4. Use a search tool (I use the one in my browser) to find: wp_tag_cloud
  5. Alter the number 45 to 300. (Or some other number >45).
  6. Consider changing the largest font size (I have changed mine down from 20 to 16).
  7. Make sure you save!

Here is an example of what the code looks like after changing:

function wp_tag_cloud( $args = ” ) {

$defaults = array(

‘smallest’ => 8, ‘largest’ => 16, ‘unit’ => ‘pt’, ‘number’ => 300,

PS: It would also be nice if the Hello Dolly plug in did not keep reinstalling whenever WordPress is updated. I never use it and always delete it to reduce clutter and prevent plugin update messages for something I never use.

  • Share/Bookmark

Related posts:

  1. Web usability – blog tag cloud.
  2. WordPress 3.0 “Thelonious” released – see my key tips
  3. Fix (workaround) for WordPress “Failed to write file to disk” image upload error.
  4. Backing up your WordPress blog.
  5. What you REALLY need to know about Content Management Systems (CMS) for Web Design, Web Developers and Websites

About the Author

Life Coach, Business/Corporate Consultant, Counsellor and Shaman. I know how to help you achieve deep & permanent change in thinking, feelings, emotions and actions. How do I know this? Because I have lived it myself.

Comments (12)

Trackback URL | Comments RSS Feed

  1. Sai says:

    Hi Alex,

    Good Post.

    I too have a blog and would like to know the below information -

    1) How many maximum tags can be included while creating new post?
    2) I am an new blogger and have included about 300+ tags in one post. Will i be blacklisted in searchengines?

    sai

  2. Alex Webley says:

    Hello Sai,

    Thank you.

    I do not know the answers to your questions, sorry.

    That said; 300 tags in one post seems excessive to me. I have 300 as my upper limit for the purpose of having up to 300 tags spread across a variety of posts over a period of time. It has never been my intention to have large numbers of tags per post.

    300 tags in one post seems ‘spammy’ to me so I would not be surprised if it might have some kind of negative effect.

    You might find the resources on this page of some help:

    http://www.blackshaman.com/Blogging.html

    You might also want to ask yourself if this type of approach is common to other areas of your life, unrelated to Internet Marketing.

  3. sai says:

    Thanks Alex for your prompt reply.

    I too felt the same and will try to limit by 10-20 tags per post

  4. Ruleta says:

    Great idea, thanks for this tip!

  5. WP Themes says:

    Good post and this mail helped me alot in my college assignement. Thanks you on your information.

  6. Derrick Smalls says:

    There’s good info here. I did a search on the topic and found most people will agree with your blog. Keep up the good work mate!

  7. Steave says:

    Nice blog you got here. I’d like to read more concerning that theme. Thank you for sharing this information.

  8. Arron Cooper says:

    You have really great taste on catch article titles, even when you are not interested in this topic you push to read it

  9. Larry Love says:

    Hey very nice blog!!….I’m an instant fan, I have bookmarked you and I’ll be checking back on a regular….See ya

  10. MitOntown says:

    i really enjoy your writing style, very attractive.
    don’t quit as well as keep writing as a result it simply worth to look through it.
    impatient to browse through even more of your current article content, goodbye ;)

  11. aceredwe says:

    Thank you for hosting such a creative weblog. Your website happens to be not only informative but also very inventive too. There are very few people who can think to write not so easy content that creatively. we keep searching for content on a subject like this. I have gone in detail through dozens of websites to find knowledge regarding this.Looking to many more from your site !!

  12. Mia James says:

    Truly interesting blog you got here. I’d like to read a bit more concerning such theme. Thank you for sharing this information.

    Mia James

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.