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.
Tagged: 0.8.14, categories, cMap, drop down, exclude_category, hiding, show_empty_categories
- This topic has 4 replies, 2 voices, and was last updated 11 years, 11 months ago by
Steven Zahm.
-
AuthorPosts
-
07/29/2014 at 6:51 am #298357
Marco Eisenack
ParticipantHey,
I could not find an answer to this question so far.
I found this on the website faqs but it didn’t work.
.cn-cat-parent #uncategorized { display: none; }It’s no problem, because I have nothing with the category “uncategorized”.
But which code I need for hiding other category names from the drop down?
Thanks and best regards
-
This topic was modified 12 years ago by
Marco Eisenack.
07/29/2014 at 12:39 pm #298429Steven Zahm
Keymaster@ Marco
I believe that CSS you found was for the category widget in the Widget Pack. To hide categories in cMap, you can use the exclude_category shortcode option or the show_empty_categories cMap shortcode option.
Hope that helps!
07/30/2014 at 6:58 am #298515Marco Eisenack
ParticipantOh, yes, it was for the widget.
Thank you, that works. I thought it would hide all the entries too. I should have tested before I asked such questions.
09/11/2014 at 5:14 pm #303689Marco Eisenack
ParticipantSorry to open this question again.
When I exclude categories to have them disappear from the dropdown the entries disappear in the tables below.
This works for one page I have because the entries all have different categories which aren’t excluded.
But I need the category name excluded from the dropdown but the entries (which have just this one category) included.
Is there any option, maybe now?
Thanks!
09/12/2014 at 1:38 pm #303766Steven Zahm
Keymaster@ Marco
Sorry, but just hiding the name without actually excluding the entries associated to the category is not possible. Well sort of, you could resort to some CSS to do it, but it would not be easy to maintain,
#cn-cmap li.active-result:nth-child(n+2):nth-child(-n+3) {
display: none;
}The above would hide the 2nd and 3rd items in the list. You could add it to your theme’s custom CSS area, but any time you add or remove a category you would have to adjust the CSS selector accordingly.
Hope that helps!
-
This topic was modified 12 years ago by
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
