You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It turns out that the core/tag-cloud block has a maximum limit of 100 for the numberOfTags attribute.
I hope this isn't a restriction of the underlying implementation!
Requirement
Cater for more than 100 tags.
Current maximum not yet known
Proposed solution
Override the core/tag-cloud block.
The text was updated successfully, but these errors were encountered:
Note: 45 is the number of tags displayed by the page-footer.html template part for both the s-word and b-word taxonomies.
I've tried adjusting the numberOfTags attribute but it doesn't seem to make a blind bit of difference.
I've already got an override function called sb_render_block_core_tag_cloud().
This calls wp_tag_cloud() with hardcoded $args that doesn't include the numberOfTags attribute.
The code needs to be updated to more closely match the logic in WordPress's wp-includes\blocks\tag-cloud.php.
There is still the limit of 100, but I haven't reached that yet for the "Supplied-by" taxonomy.
In https://seriouslybonkers.com/bigram/supplied-by/ I noticed that Alex Horne didn't appear in the tag cloud
even though there is an entry for him.
It turns out that the
core/tag-cloud
block has a maximum limit of 100 for thenumberOfTags
attribute.I hope this isn't a restriction of the underlying implementation!
Requirement
Proposed solution
core/tag-cloud
block.The text was updated successfully, but these errors were encountered: