I’m trying to use the [EVENT_CUSTOM_VIEW] shortcode in two differt ways on my website. The first one is like it is supposed to work: to show a list of events in a table with the category filter over it. This works fine.
Now my second type of use would be to list events of only a specific category (works fine with the category_id tag in the shortcode) but HIDE the category filter over it. I’m on category page A, list only events of category A so I don’t need a filter-dropdown over it. I also don’t want to put it out of the template.php because then it would also disappear from my first page and there I need it!
I hope you understand my problem 😉
Maybe you have a solution!
Hi, you should be able to do this by combining the body class for the specific category page along with the CSS id or class that is used for the category dropdown.
See this page for an example on how to inspect elements on a page:
Once you have this information, you can link it to a display:none and add this to your child theme’s stylesheet or a plugin like My Custom CSS or Reaktiv CSS Builder.
did it like you said – worked perfect!
thanks a lot lorenzo!
Viewing 2 reply threads
The support post ‘Hide Category-Filter over EVENTS_TABLE’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.