Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 4 replies, 2 voices, and was last updated 9 years, 5 months ago by
DOMINIC.
-
AuthorPosts
-
02/18/2017 at 8:37 pm #411991
DOMINIC
ParticipantI tried searching but I could’t find an answer.
Is there any way to hide parent from category select box if only one parent category is being used?
my categories are as follows:
parent one
– sub one
– sub two
parent two
– sub one
– sub twoMy shortcode says to display parent 1 which works but the category select shows:
show all categories
parent one
– sub one
– sub twobut i would like it to show only:
show all categories
sub one
sub two02/20/2017 at 12:00 pm #412142Steven Zahm
Keymaster@ dominic
Technically yes, but that would require a code change in the template so its not easily achievable.
02/20/2017 at 12:47 pm #412147DOMINIC
Participantok :(
Another option could be to remove “show all categories” from the select menu. Is this possible.
also which template were you referring to? if a change is made to it is it futureproofable?
thanks
dominic
02/20/2017 at 5:04 pm #412165Steven Zahm
Keymaster@ dominic
re: also which template were you referring to?
Well, you wrote this in the cMap support forum, so I supposed the cMap template. Really though, it does not matter, all templates will output the same categories because they all use the same code to do so.
re: if a change is made to it is it futureproofable?
No, not this change. If an update is released to a template with this change, the change will be lost and will need reapplied.
re: Another option could be to remove “show all categories” from the select menu. Is this possible.
You could use CSS to hide the hide it, I think, but chances are that when you add new categories you would have to adjust the CSS.
02/20/2017 at 5:22 pm #412168DOMINIC
ParticipantThanks, you are a genius, sometimes the simplest way is the easiest, and a well coded plugin helps alot.
I used css and removed teh parent category on the specified page.
.page-id-53 .cn-cat-level-0 { display: none!important;}
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
