Support

Home Forums Event Espresso Premium Custom Template

Custom Template

Posted: December 19, 2014 at 3:44 am


Siddhi Shakti

December 19, 2014 at 3:44 am

EE4 User
Is there any way to create a custom template.
Here is the thing:
I don’t want to use EE templates and shortcodes. I want to get my single event and it’s data[prices, dates, venues, etc] with my own code. Is there any documentation for that. There is no documentations for the hooks and filters. And your templates are kindda messy :S

Thank you in advance


Josh

  • Support Staff

December 19, 2014 at 8:30 am

Hi there,

You can copy your single post template in your WordPress theme, rename it single-espresso_events.php, and add your custom code there. Event Espresso will then use your single-espresso_events.php instead.

Here are some links with more information that can be used to build custom templates:

https://eventespresso.com/wiki/ee4-custom-post-types/
https://eventespresso.com/wiki/ee4-themes-templates/ — useful template tags
http://developer.eventespresso.com/docs/ee-model-objects-and-custom-post-types/ — if you can’t find a template tag, you can use model objects

If you’re using the Genesis theme:
https://eventespresso.com/wiki/build-custom-espresso-event-post-templates-genesis/

A partial list of hooks and filters documentation:
http://developer.eventespresso.com/actions-and-filters-in-ee/
https://eventespresso.com/wiki/ee4-single-page-checkout-page-actions-filters/
https://eventespresso.com/wiki/ee4-thank-page-actions-filters-hooks/

Can you let me know which templates you think are messy?


Siddhi Shakti

December 19, 2014 at 9:30 am

Maybe I’m kinda n00b and I think they are messy. The thing is that I want to do all from scratch. I don’t want to use anything from EE templates.

I had problem with event objects. They are too many. I want to take all information from one event in foreach loop. Like prices, start/end dates ( the link you sent me, probably will help me ).

Can you not close this post so I can get more support ? I will need help with the plugin 🙂

Thank you in advance Josh :*


Josh

  • Support Staff

December 19, 2014 at 10:04 am

Hi Siddhi,

Posts auto-close after two weeks of inactivity, no need to ask us to not close a support thread.

Please note, your support license doesn’t cover custom coding, we can point to our documentation and do our best to guide you along, but we will not be able to support your custom coding.

The support post ‘Custom Template’ 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