Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#11357 closed enhancement (worksforme)

tag cloud option to show all tags

Reported by: rleir Owned by: azaozz
Milestone: Priority: normal
Severity: normal Version: 2.8.6
Component: Widgets Keywords:
Focuses: Cc:


The tag cloud widget needs an admin option to show all tags. A simple patch is attached. There could be other options, but a good start is to do the simple way.

Attachments (2)

patch-includes-category-template (918 bytes) - added by rleir 8 years ago.
diff -Naur of includes/category-template.php
patch-includes-default-widgets (1.5 KB) - added by rleir 8 years ago.
diff -Naur of includes/default-widgets.php

Download all attachments as: .zip

Change History (4)

8 years ago

diff -Naur of includes/category-template.php

8 years ago

diff -Naur of includes/default-widgets.php

#1 @dd32
8 years ago

  • Keywords has-patch added
  • Milestone changed from 2.9 to 3.0

just FYI: You can include 'number' in the array() section of this block:

 wp_tag_cloud(apply_filters('widget_tag_cloud_args', array()) );

so as not to have to pass extra filters around, Ie:

 wp_tag_cloud(apply_filters('widget_tag_cloud_args', array('number' => 0))

Milestone: 3.0 pending dev-feedback, 2.9 release is close by, and enhancements over current functionality is being delayed.

#2 @nacin
8 years ago

  • Keywords has-patch removed
  • Milestone 3.0 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Using number = 0 as an argument for wp_tag_cloud() shows all tags.

Note: See TracTickets for help on using tickets.