Home › Forums › Calendar Products › Events Calendar PRO › Hide or Show Events List Widget on Event pages
- This topic has 4 replies, 3 voices, and was last updated 10 years, 2 months ago by
Support Droid.
-
AuthorPosts
-
February 11, 2016 at 4:07 pm #1071770
Nancy Seeger
ParticipantHi,
I’m using the Display Widget plugin to Show and Hide sidebar widgets. My client uses extensively the premium feature “Events List” Widget to list specific event categories for Classes or Workshops.
I am finding I can’t access the Events categories when I go to hide the category “Classes” for a sidebar widget (although normal categories show up). I am using specific post IDs to hide “Classes” filtered category on the Events List widget on an Events post. What I want to show is only Workshops on a specific Events post which right now I have to do with a post ID. So right now I can only hide/show event categories by post ID and not by category for the Events List widget.
How can I hide or show the “Events List” widget by category on Events posts? I for example don’t want to show “Classes” filtered Events List.
The website has the most recent version or WordPress and Events Calendar Pro.
February 12, 2016 at 10:16 am #1072228Nico
MemberHowdy @nancyseeger,
Welcome to our support forums and thanks for reaching out to us. I’ll help you on this!
First of all let me say I’m a bit confused by your description of the issue. It will surely be easier to understand if you can share with me the site URL and indicate in which pages/URL’s you want to display/hide the widgets.
From what I understood you don’t have the option to hide the widgets on Event Category pages, right? While this might be a limitation of the Display Widget plugin we can try to look for a workaround. I also get that you have more than one Event List widget, right? One for classes and one for Workshops?
Please let me know about it, and if possible clarify a bit on my thoughts,
Have a great weekend,
NicoFebruary 12, 2016 at 12:13 pm #1072255Nancy Seeger
ParticipantThis reply is private.
February 15, 2016 at 12:21 pm #1073411Nico
MemberHey Nancy,
Thanks for following up on this! It’s a bit clearer for me now 🙂
Event Categories are registered as a custom post type taxonomy, maybe the plugin doesn’t support those! I guess a way around for this would be to hide/show them by CSS, for example, to target Event Category listings you use the following selector:
/* hide specific widget by id */
body.post-type-archive-tribe_events #tribe-events-adv-list-widget-2 {
display: none !important;
}/* hide all event widgets */
body.post-type-archive-tribe_events .tribe-events-adv-list-widget {
display: none !important;
}
Do you think this approach might work for you? All event view have some body class that you can use to select elements like above.
In case this works please let me know if you need help to identify the classes for a view or something,
Best,
NicoMarch 1, 2016 at 8:35 am #1083916Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Hide or Show Events List Widget on Event pages’ is closed to new replies.
