How to Limit the number of Tag in Tag Cloud in WordPress

  • In WordPress we have this tag cloud features but most of us don’t wants to show as much tag cloud as it shows by default,
  • there are many reason for Limit the number of Tag in Tag Cloud like too many tag in tag cloud increase the total no of links in our single page which is not good for search engine because google bot only chrol max 100 links from single page most of time and leave rest,
  • that’s why we have to control the total no of tag in the tag cloud,
Tag Cloud in WordPress 1

How to Limit the no of Tag in Tag Cloud in WordPress

How to control the tag no in tag cloud —

  • In WordPress there is category template.php for this all category and tag management, so if we wants to control the tag cloud and wants to change in the appearance og these tag no and style then we have to change in this category-template.php file,
  • this category-tmplate.php is located in the Include folder you can find it in your root domain, by using any ftp client like filezilla ,

step 1 —

  • open your ftp client and go to your include folder and download the file category-tmplate.php and save it,
  • save a copy of it at safe place for security purpose if anything misshapen,
Tag Cloud in WordPress 2

How to Limit the no of Tag in Tag Cloud in WordPress

step 2 —

  • now open it in text editor notepad or anything and  find the Display tag cloud by ctrl + f, as shown in image above,
  • now scroll down and you will find the code 1 , given below

 

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

    $tags = get_terms( $args['taxonomy'], array_merge( $args, array( 'orderby' => 'count', 'order' => 'DESC' ) ) ); // Always query top tags

 

  • now  just change the ‘number’ => 45,  to any no you wants to show
  • ‘largest’ => 20 for largest font size,
  • ‘smallest’ => 8, smallest font size
  • and now just save the file after changing it,

step 3 —

  • no all done just replace the file in Include folder category-tmplate.php .
  • now you have total control in tag cloud.

We would like to keep you updated with special notifications.

royalmpo Royalmpo Royalmpo royalmpo royalmpo royalmpo royalmpo https://malangtoday.id/ https://guyonanbola.com/ renunganhariankatolik.web.id royalmpo dewaslot168 ri188 mpodewa https://going-natural.com/the-story-behind-the-mutilated-scalp-video/ royalmpo/ pisang88/ langkahcurang/ mpohoki/ mpocuan/ mporoyal/ asiaslot/ rajaslot138/ royalmpo https://going-natural.com/my-braid-locs/ https://going-natural.com/kellen-marcus/ narutoslot bangslot royalmpo royalmpo macanasia bosslot
https://going-natural.com/i-became-a-bathing-beauty/ pengalaman memahami dinamika rtp harian https://going-natural.com/what-is-the-best-way-to-start-locs/ https://boyinks4adventure.com/about-us/
gacorway GACORWAY Login Dari Komunitas Permainan Online Pengguna Indonesia Semakin Kerap GACORWAY Slot Mulai Banyak Dibahas Karena Permainan Ringan Pengguna Online Mulai Membahas GACORWAY GACORWAY Rtp banyak di cari pengguna waktu malam
GACORWAY catat rekor hari ini strategi sederhana Mahjong Wins 2 Pragmatic Play bobol Mahjong Wins 3 PGSoft tanpa pola ribet siklus bonus konsisten Mahjong Ways 2 Pragmatic Play RTP Live Mahjong Ways 3 PGSoft paling tinggi hari ini strategi bermain Mahjong Wins 1 PGSoft jam 2 siang Mahjong Ways 1 PGSoft dan Gates of Olympus strategi manual Mahjong Wins 2 Pragmatic Play modal kecil strategi adaptif Mahjong Wins 3 PGSoft untuk pemula strategi manual Mahjong Wins 2 Pragmatic Play ganas Mahjong Ways 2 Pragmatic Play pecah setelah 50 putaran Mahjong Ways 3 PGSoft sering kasih kejutan strategi sabar menunggu momen Mahjong Ways 3 PGSoft fitur baru RTP Live real time Mahjong Wins 1 PGSoft GACORWAY vs platform lain Mahjong Wins 1 PGSoft Mahjong Ways 2 Pragmatic Play ramah eksperimen pola Mahjong Ways 1 PGSoft pilihan utama pemain lama Mahjong Ways 3 PGSoft masa subur konsistensi Mahjong Wins 3 PGSoft raup Rp 9.975.000 strategi observasi scatter Mahjong Wins 1 PGSoft
GACORWAY slot gacor minimal deposit 5rb link slot gacor 2026 slot gacor hari ini situs slot gacor malam ini GACORWAY resmi slot toto gacor bandar slot gacor slot gacor vip maxwin toko gacor slot slot gacor bet 400 perak mahjong ways 2 bet 400 slot bet kecil 400 demo slot princess bet 400 situs gacor bet 400 mpo bet 400 situs slot thailand situs slot gacor 2026 situs slot scatter hitam cara hack situs slot situs thailand slot situs slot gampang maxwin situs gacor 2026 situs thailand gacor situs gacor thailand rekomendasi situs slot gacor daftar slot gacor MPO slot bet 400 link slot gacor