Free Directory, Listing & Classifieds WordPress Plugin › Support › General › HivePress › Hide sub categories
Hide sub categories
Hey ihor love your theme
I wanted to know how does one hide the sub categories to the main category in the listings page?
Plus can one only show listings to a certain attribute in a page?
Plus how does one add a copyright in the theme cause mine doesn’t even have a copyright
For the categories I mean hide the sub categories from the search form if it’s not possible hide the categories from the the search form
Ihor I already figured out everything, the theme is working perfectly. My only query is on how to add a copyright to my site, plus how can I remove the categories showing in the listings page just below a listing?
You can set the copyright notice in Appearance/Customize/Site Identity section. Please let me know if you mean the category filter in the search form or the category of the listing displayed below the each listing title?
category of listing displayed below each listing title. Thanks a lot it has worked
I have also seen you code for removing the keyword search bar on the search form and replacing it with categories, it worked magnificently thanks. I wanted to know can the code be made in a way it only shows the main categories and not include sub categories
This CSS snippet should hide the categories:
You can try adding
'parent' => 0,to a list of “option_args” passed to the field.
Thanks, Ihor but nothing has happened to my site
but none of the codes have worked. I have put the first code .hp listing code to style.cc of my child theme and the other below option_args
Thanks it has worked Ihor thanks so much
You must be logged in to reply to this topic.