I have two types of topics, parent and child, represented as radio buttons. The child topics have a dash ("-") displayed before their names. I'm looking for a way to modify this format by replacing the dash with an em dash ("—") or by removing it altogether and simply indenting the child topics.
Additionally, is there a way to hide the radio buttons with a filter drop-down on mobile? This would improve the appearance of the radio buttons, especially on mobile devices. Any help with customizing this format would be greatly appreciated.
What is the link to your site?
hidden link
Hello,
Most of your screenshots are too small, I can not see them clearly, can you provide those screenshots in original size?
And how do you setup the "two types of topics, parent and child"?
Are they two different post types?
How do you setup the post view, and custom search form?
There is one post type, "Kudos Post". The posts can be categorized by parent topic and then child topic. These are part of the same taxonomy.
Here is an example:
Parent: Variety
Children: Variety of Ingredients, Variety of LeafSide Meals, Variety of Meal-Mods
The images should show you how the post view and custom search are set up. Thanks for your help in advance.
Q1) modify this format by replacing the dash with an em dash ("—") or by removing it altogether and simply indenting the child topics.
I assume we are talking about a Hierarchical taxonomy.
There isn't such kind of built-in feature within Toolset plugins, you can use custom JS codes to replace the character from dash ("-") with other charcters.
For example:
hidden link
Q2) is there a way to hide the radio buttons with a filter drop-down on mobile
There isn't such kind of built-in feature within Toolset plugins too, you might consider to create two different post views, one for mobile devices, the another for desktop device, use [wpv-conditional] shortcode to check if user is using mobile device:
https://developer.wordpress.org/reference/functions/wp_is_mobile/
Then display different post view:
https://toolset.com/course-lesson/using-toolset-conditional-block/#checking-for-values-from-custom-functions