Support

Home Forums Event Espresso Premium Reoccuring and regular events display

Reoccuring and regular events display

Posted: August 23, 2012 at 9:01 am


emoria

August 23, 2012 at 9:01 am

Hello,

New here. thanks for having me.

Any way I’m using reoccuring events plugin. I am using shortcode [EVENT_LIST] to display these events on a page.

I have also modified the themeroller CSS file to include the following to reformat the recoccuring events display output to include a drop down of dates when using [EVENT_LIST}however my regular events are being displaying the date right away making the format inconsistent. I would like my regular events to display in the same way where you must hit the resiter now link to expand the event to show the dates. How can this be accomplished?

.subpage_excerpt .date_picker{
display: none;
}”


Seth Shoultes

  • Support Staff

August 23, 2012 at 9:15 pm

Have you looked into using the Recurring Events Tamplates?


emoria

August 23, 2012 at 9:58 pm

I have not but my reoccurring events are displaying perfect it’s the single events that are not. The dates for reoccurring events are only displayed when clicking more info which is perfect but in that same listing of events the date for single event is displayed automatically. I want to apply the same drop down function to all event types.


Chris Reynolds

  • Support Staff

August 24, 2012 at 4:52 pm

So you want to hide the event date for events that are not recurring?


emoria

August 24, 2012 at 6:50 pm

Correct. So they look like the reoccurring event. Then when the user hits the register link the date will drop down just like the reoccurring events does.


Chris Reynolds

  • Support Staff

August 27, 2012 at 10:03 am

First off, you’d need to modify your event_list_display.php because the dates have individual ids and not a general id/class for all dates. So, in order to hide them across the board, you’d need to add your own class. Look for <p id="event_date-<?php echo $event_id ?>"> and add your own class into that, e.g.

<p id="event_date-<?php echo $event_id ?>" class="event_date">

Then you can do whatever jQuery show/hide magic you want. If you aren’t currently using the recurring events templates and have recurring events doing this, I assume you are already able to do that part.


emoria

August 27, 2012 at 4:02 pm

I noticed this new shortcode in the latest version. Will using this do the trick if I specify the right css? If yes can you give me a hint of which css to reference? I’m using themeroller templates.
[EVENT_LIST css_class=my-custom-class]


Chris Reynolds

  • Support Staff

August 27, 2012 at 6:15 pm

The css_class parameter will add a custom CSS class to the event, so this is definitely one way you can do this. However, there isn’t specifically a “hide this” class in the themeroller templates (that I know of). How are you hiding the recurring event dates now? Why not just add “subpage_excerpt date_picker” to the css_class so it uses the exact same classes as the recurring events?


emoria

August 28, 2012 at 10:10 am

I will try that as soon as I figure out how :). Never really dove into CSS but I guess its time to start.

The support post ‘Reoccuring and regular events display’ 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