WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 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:

Description

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 4 years ago.
diff -Naur of includes/category-template.php
patch-includes-default-widgets (1.5 KB) - added by rleir 4 years ago.
diff -Naur of includes/default-widgets.php

Download all attachments as: .zip

Change History (4)

rleir4 years ago

diff -Naur of includes/category-template.php

rleir4 years ago

diff -Naur of includes/default-widgets.php

comment:1 dd324 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.

comment:2 nacin4 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.