bobbingwide / genesis-a2z

Genesis child theme for WP-a2z.org
GNU General Public License v2.0
0 stars 0 forks source link

Add Blocks to the A to Z selection list #13

Closed bobbingwide closed 5 years ago

bobbingwide commented 5 years ago

Requirement

Blocks should be listed in the A to Z selection list in the same way that Shortcodes and other CPTs are listed.

Well... it would be nice if it could work a bit better than it does currently!

bobbingwide commented 5 years ago

The block title will probably be of the form Block name - block_type_name where the block type contains the prefix, e.g. core/shortcode. The A2Z letter selection should be able to detect the first letter after the slash.

bobbingwide commented 5 years ago

As for genesis-oik...

After some experimentation I've decided that a separate taxonomy is needed for Block letters. We don't want to use Letters or API Letters.

Themes that uses letter taxonomies and display Blocks / Block examples will need updating to reflect this change in the display of the A-Z pagination.

This logic will also need updating to cater for custom taxonomy displays: block_category, block_keyword, block_classification.