Question: Does the Tag Cloud block have limitations? If so, what are the alternatives?
Answer: Yes. It produces a cloud of your most used tags. If you have a lot of tags and a lot of posts but only use a tag once or twice then the Tag Cloud block may not show your tags.
The Server Side rendering of the tag cloud block invokes wp_tag_cloud()
. The default value for the number
to display is 45. If you use more than 45 tags then you’re stuffed. In this tag cloud we can’t see Universal since the tags are ordered by name ASC.
#fse-outreach-experiment (4) #unanswered (4) 18 (1) agencies (1) answers (1) better (1) blocks (2) bug (1) call #5 (1) capabilities (1) child theme (2) color (1) contributors (2) could-do-better (15) CSS (3) custom (1) customizer (2) custom template (1) dates (1) development (1) display:flex (1) display:grid (1) Dot (1) empty (1) featured image (1) filter (1) filters (1) FREE (1) GDPR (1) global-styles (1) grid (1) Gutenberg (2) handbook (1) inline (1) keyboard (1) look and feel (1) margin (1) margins (1) Mega Meetup (1) menus (1) migration (1) mkaz (1) navigation (1) news (1) padding (1) page builder (1) paragraph (1) phases (1) plans (2) plugins (1) poem (1) post edit (1) post formats (1) privacy (1) process (1) Publish (1) query (3) quote (2) reusable (1) reusable block (1) search (2) server (2) shortcode (1) shortcuts (1) Site Editor (3) site icon (1) size (1) sort (1) SSR (1) stages (1) statistics (1) table (1) template-part (3) template parts (1) templates (1) theme.json (2) themers (1) Universal (1) WooCommerce (1) WordCamp Europe (2)
So what are the alternatives?
Override
I’m going to try to implement an override to the block using a similar technique to my override to the Query block to support order by rand.
Other solutions?
Question: Can you use the Query block to display a list of all your tags.
Answer: No.