Support

Home Forums Event Espresso Premium Events Posts Template for Custom Table

Events Posts Template for Custom Table

Posted: July 21, 2014 at 10:50 am

Viewing 2 reply threads


Ben

July 21, 2014 at 10:50 am

Hi Guys,

Following on from a previous thread I had,
https://eventespresso.com/topic/espresso-table-not-showing/

Can you tell me how I can edit the ‘event posts’ template for only ‘some’ events so we can show the custom table at full width, as you can see here? –
http://www.metroarts.com.au/events/not-much-to-tell-you/

Thanks
Ben


Dean

July 22, 2014 at 1:05 am

Hey,

I would probably stick an if statement in based on $data->category_id (it’s a comma separated list), and display the shortcode with a do_shortcode.

You may need to do an SQL query to get the category identifier from the category id.


Ben

July 22, 2014 at 3:26 am

Thanks Dean,

It appears there are 2 content boxes, and code [EVENT_CUSTOM_VIEW template_name="events-table" category_identifier="event"] needed to be added in the second box. Resolved.

Viewing 2 reply threads

The support post ‘Events Posts Template for Custom 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.

Event Espresso