I am using gd_single_taxonomies shortcode via a Gutenberg block to show the listing’s main category at the top of the detail page. I would like to change the output as follows:
1. Only show categories, not tags
2. Only show the primary category, not all categories
3. Show the parent categories (this is a hierarchical structure)
4. Don’t show the text “Listing Category:” (I can’t target this with CSS as it is not independently wrapped in an element)
What is the best way to go about this?
I might well have other design customization needs as I work through this. I am currently using a Gutenberg page to define the output, with custom HTML blocks between the GD shortcodes to create the right div nesting to target with CSS.
I’m not sure if this approach will fall down at some point, so wondering if it’s better to start from scratch with a PHP template, or if that will create more problems than it solves.
Thanks.