Dear Kriesi,
I’m using the Event Espresso plugin for bookings, and would like to create a page to display my events. The default EE events archive page and individual event pages are different in layout to the pages I have created in enfold (see private link)
EE say that I can create an archive-{post_type}.php
custom post type template as outlined in the following page:
http://codex.wordpress.org/Post_Type_Templates
My question is, how can I export a page created in the avia layout builder as a template so that my events archive and individual event pages are consistent with the rest of my site?
Event Espresso say I can create theme template files to do this:
Build a template for your events – create a theme template named archive-espresso_events.php. Then place it in your theme’s root directory. For the default WordPress Twenty Thirteen theme, this location will be wp-content/themes/twenty-fourteen.
Build a template for a single event – create a theme template named single-espresso_events.php. Then place it in your theme’s root directory. For the default WordPress Twenty Thirteen theme, this location will be wp-content/themes/twenty-fourteen.
Thanks, Richard
Hi Richard!
It’s tricky, depends on how complex is your ALB-built page, i’d suggest starting off by enabling debug mode:
http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
Then you can use do_shortcode to render those shortcodes from a .php file.
Regards,
Josue