Opened 15 years ago
Closed 10 years ago
#19628 closed feature request (worksforme)
FEATURE REQUEST: std deviation option for wp_tag_cloud
| Reported by: | bhoogterp | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Taxonomy | Version: | 3.3 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: |
Description
Feature Request
Add a std deviation, logarithmic, or other non-linear algorithm for generating tag cloud sizes... I have a sample set containing approximately 500 tags, with two tags which fall in the 100 posts range, whereas most tags end up with less than 20. I would still like the two tags to show up, and to show up the largest, and a simple std deviation (66% show up in 1 std dev, 96% or so in the 2nd, etc) or logarithmic algorigm for calculating tag element sizes, based on the sample set.
Change History (5)
#3
@
12 years ago
- Keywords needs-patch added; dev-feedback removed
- Milestone Awaiting Review → Future Release
I think this is a pretty cool idea, and would arguably be a replacement for (rather than an addition to) the current tag cloud logic. It'd be helpful to get not only a patch, but some sample data that shows what the font-size distributions would look like with different data sets (so we can see, at a glance, how the proposed changes will differ from the linear distribution we currently use).
#5
@
10 years ago
- Milestone Future Release
- Resolution → worksforme
- Status new → closed
In [11894], default_topic_count_scale() (uses log10()) was added as a default callback to wp_generate_tag_cloud(). A custom topic_count_scale_callback can be added by plugins. Considering that the default callback uses a logarithm already and this ticket never got any real traction, closing it seems appropriate.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This sounds like plugin material to me... there are so many possible ways that people might want to tweak their tag clouds.