Subscibe our Newsletter for FREE and stay up to date with our daily lesson*

Advanced Options for WP Tag Cloud

If you are wordpress blogger, you must be using tag cloud on your sidebar right now, don’t you? Tag Cloud is wordpress default widget. It is simple but useful. You can access your tag cloud on your widgets settings. Unfortunately, you don’t have any options about this useful widget.

Usually, people import tag cloud using standard widget setting on your admin panel, but what i try to tell you is a bit different. It use manual PHP code. What’s the benefit of using PHP code? With PHP code, you can change the option about

  1. The maximum font (largest)
  2. The minimum font (smallest)
  3. Quantity of Tag (number)
  4. Some Exclusion (exclude)
  5. Ordering ascending or descending (order)
  6. Order based on count, alphabet or name (orderby)
  7. The output format whether list or flat font (default is flat font) (format)

And the PHP code goes like this:

<?php wp_tag_cloud("smallest=10&largest=30&number=10&order=ASC&orderby=name");?>

Just implement that code on your sidebar.php or maybe index.php or single.php . Thanks for your attention, hope you like it :-)

Let's talk it out!

8 Responses to “Advanced Options for WP Tag Cloud”

  • Putri

    What is exactly the benefit of using this tag cloud ?


  • candradot.com

    Really nice and aplicable …
    btw blognya keren mas…
    mas hokya ato om hokya neh hahaha….


  • Tyson F. Gautreaux

    Jeff Johnson has a great FREE SEO Plugin on his site…


  • tudor clothes

    I always learn something new


  • Corbin

    Do you have a spam problem here; I also use Blog Engine, and I was wondering about your situation; we have developed some excellent practices and we would like to exchange techniques with others, please Email me if you are interested.


  • Shiva | Web Magazine

    Also using PHP instead of plugins will decrease the site load time :) I think this is a great idea mate. Thanks for sharing.

    Hey by the way may I ask how did you put that floating subscription bar at the top ? ;)


What is in your mind ?

Subscribe Me

Learn more the basic tips about WordPress and PHP coding. You can subscribe to our Newsletter to stay in touch with every new stories FREE

Sponsors

WooThemes - Where there's a Woo, there's a way!

Our FaceBook (new)


Discussion Topics

Who am I ?

My name is Julian Widya Perdana. I study at University of Gadjah Mada, Yogyakarta. I am a young developer addicted in JavaScript, Plugins, Themes, AJAX, and PHP developement. If you need anything, then submit it on Contact Us. If you feel satisfy with my work, please support me to keep it developed

Our Community

Discussion

julian

if you need any help please let me know :-)

Frank Lucas

How come you don't use your own plugin?

Henry Baltzer

Now there can be stll a whole lot to be aware of about this kind of stuff. My husband and i are conv
Close