1

I'm trying to display the category/categories from each post within the Latest Posts block in the WordPress editor.

This post seems to provide some solutions, however I am unsure how to use this helpful answer - "wp.data.select('core').getEntityRecords('taxonomy', 'category');"

How would I get a taxonomy/category list inside a Gutenberg block?

A helpful guide would be much appreciated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.