Support

Home Forums Event Espresso Premium Custom event categories on pages through the upcomming event widget

Custom event categories on pages through the upcomming event widget

Posted: February 11, 2014 at 12:42 am


Morten Mouritzen

February 11, 2014 at 12:42 am

If i create normal WordPress pages like this.

Page1 (Event nr. 1 – Car event )
Page2 (Event nr. 2 – Bike evetn )

And i put the upcomming widget event on both pages. I can choose on the widget which event categori to show.

But, if i want to show upcomming events of the same categori as the page what can i do?

Exmaple:

On Page1 (Event nr. 1 – Car event ) i will see car upcomming events.
On Page2 (Event nr. 2 – Bike event ) i will see bike upcomming events.


Tony

  • Support Staff

February 11, 2014 at 2:35 am

Hi,

The easiest way would be to use multiple sidebars and set a different sidebar (containing the same widgets is you would like) to those two specific pages. Each could have an instance of the widget with a different category set.

A quick Google search shows using a plugin such as Custom Sidebars may be what you need.

However there are multiple ways to do this this from editing your theme templates to using a plugin, unfortunately this would be outside the scope of EE support.


Morten Mouritzen

February 11, 2014 at 2:38 am

So if i had 20 events i needed to make 20 sidebars? ๐Ÿ™‚


Tony

  • Support Staff

February 11, 2014 at 2:47 am

Well if you have 20 categories of events yes.

For example if you have 3 bike events, they could all use the Bike sidebar.
2 Car events could both use the Car sidebar and so on.

Obviously that would depend on how the events are categorized.

The upcoming events widget is designed to display the upcoming events for all your events, or from a specific category. You need conditional categories which is not something it was designed for. If you prefer to have a single sidebar with conditional categories it is possible, but would require some custom development.


Morten Mouritzen

February 11, 2014 at 2:51 am

Ok i see. We have 50 or more events that are all different.

Thanks for your help i can now go further ๐Ÿ™‚

The support post ‘Custom event categories on pages through the upcomming event widget’ 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.

Event Espresso