Results 1 to 5 of 5

Thread: How to set maximum number of tags on homepage?

Hybrid View

  1. #1

    How to set maximum number of tags on homepage?

    My homepage is currently showing too many tags, it's just with the standard tag cloud from WordPress (NOT WP-CUMULUS).

    Does anyone have an idea how to lower the maximum of tags shown? I googled it but couldn't find an answer that was good enough

    Thanks in advance
    |Nico Lawsons

  2. This may be an odd question, but...

    If the default tag cloud isn't providing the feature you need, why aren't you running one of the replacement tag cloud plugins?
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  3. #3
    Here is how to do it, but after every upgrade of wordpress you will need to do it again.

    I did not ever tried this but its wise part, 45 tags is to many links from SEO stand.

    1. Open the category-template.php
    its located in the wp-includes folder

    2. Find this code in it

    function wp_tag_cloud( $args = '' ) {
    $defaults = array(
    'smallest' => 8, 'largest' => 22, 'unit' => 'pt', 'number' => 45,
    'format' => 'flat', 'orderby' => 'name', 'order' => 'ASC',
    'exclude' => '', 'include' => '', 'link' => 'view', 'taxonomy' => 'post_tag', 'echo' => true

    its located under Display tags section...

    3. Change the 'number' => 45, to the number of desired tags

    4. Save & Reload

  4. #4
    Just a question. What's the use of tags in blogs/websites? Is it for the search engine? Or for the site's search function?

  5. #5
    Thanks Hellas it works!

    @1909gt, I'm doing it a little bit for the keywords in search engines, but I don't know if it helps, I guess it doesn't help a lot but heck... Mostly I'm doing it for the traffic ofcourse, members see a nice 'hot' tag, and they click it, than they go to more posts and there is a bigger chance they will click an advertisement
    |Nico Lawsons

Similar Threads

  1. Which site gets you maximum traffic?
    By Snak3 in forum Social Bookmarking
    Replies: 46
    Last Post: 30 September, 2014, 06:51 AM
  2. Number in domain name
    By kuglermd in forum Domaining
    Replies: 12
    Last Post: 13 March, 2010, 18:17 PM
  3. Maximum SEO for SMF?
    By Aziz in forum Community Building
    Replies: 8
    Last Post: 16 December, 2009, 19:55 PM
  4. [Suggestion] Maximum Search Results to Return
    By Qryztufre in forum Announcements and Suggestions
    Replies: 1
    Last Post: 24 September, 2009, 09:46 AM
  5. Is my PUB number correct?
    By in forum AdSense
    Replies: 4
    Last Post: 22 January, 2009, 10:35 AM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts