Skip Navigation

[Resolved] Remove dash in front of subcategory

This support ticket is created 3 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by beatR 3 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#2204639

Good day

i'm creating a post archieve with filter using views. all legacy, no Gutenberg.

this is basically a re-open of this thread:
https://toolset.com/forums/topic/how-to-remove-dash-in-front-of-subcategory/

When creating a filter using [wpv-control-post-taxonomy], a dash is rendered in front of the terms, depending on the depth.

I want to get rid of that. I've seen the javascript solution in above and another thread, but that's really not satisfying, from a optical as well as technical standpoint. it's a hack, for some something very central.

You say this is rendered in the theme. i made a fresh setup and testet all the default WordPress themes, all of them output this dash. and i can't figure out where.

Do you have any pointers where this could be changed in php?

Thanks!

Kind regards

Beat

hidden link

#2205623

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Here is the another ticket where I shared the JS solution:
- https://toolset.com/forums/topic/problem-with-input-label-for-child-categories/#post-1488365

The thing is that that is the only possible workaround to remove the dash from the child category. There is no other possible alternative solution available.

#2205707

It's really hard to believe that this is something that cannot be influenced in the backend. Literally everything can be changed usually. But OK, i got to accept it then. Thanks 😉