Installing the Elevent for WordPress Plugin

Welcome to the Elevent for WordPress Plugin. This plugin should save you gobs of time creating events in WordPress and speed you on your way to creating advanced, stylish event guides and ticketing on your WordPress website.

Where to Get It

The Elevent for WordPress plugin is not available in any WordPress list or store--it only works with Elevent so you get it from Elevent. Just let us know in Back Office support chat you'd like to license the plugin and we'll send you the uploadable plugin.

If you have your website hosted here at Elevent with Elevent Hosted Sites, all you need to do is upgrade to our newer hosting plans. The cost and installation services for the Elevent for WordPress plugin and any third-party plugins are included in your Hosting agreement.

Dependencies

Elevent for WordPress currently de facto-requires one additional third-party plugin. Future versions of the plugin will have more filtering and display functionality built-in, so this plugin will become less necessary.

  • FacetWP Basic: required to take full advantage of all the filtering, sorting, and searching used by the out-of-the-box templates and shortcodes. FacetWP Pro comes with a number of add-ons, several of which you will see listed as dependencies after you install the Elevent plugin.

Two Flavors of Templates

Recognizing not every WordPress website builds content the same way, the plug-in contains out of the box templates for two of the most common ways to create page and post templates:

  • Regular WordPress theme templates
  • Elementor

You can, of course, create your own templates, pages, or posts from scratch and use the shortcodes that come with the Elevent for WordPress plugin. Or you can copy the templates we provide and modify them to make them you're own.

Installation

You will receive the Elevent for WordPress plugin as a .zip file.

From the WordPress admin, go to Plugins and Upload the .zip file you received. If successful, you should see the Elevent for WordPress plugin listed in your plugin manifest.

2022-09-27 13_16_13-Plugins ‹ Elefest QA — WordPress.png

And a settings page for the Elevent plugin itself

2022-09-27 13_17_23-Plugins ‹ Elefest QA — WordPress.png

Installing the Elevent Presets

To finish the job, we need to import a bunch of filters and listing shortcodes the templates use.

Importing filters and listings

Under Settings in your WordPress admin menu, choose FacetWP.

In the tab menu on the FacetWP page, choose Settings.

2022-08-03 14_13_49-FacetWP ‹ Elefest - Elevent Demo — WordPress.png

Toggle from General to Import/Export

2022-08-03 14_14_35-FacetWP ‹ Elefest - Elevent Demo — WordPress.png

In the Import area, paste this snippet and press the Import button.

{"facets":[{"name":"countries","label":"Countries","type":"fselect","source":"tax/country","label_any":"Any Country","parent_term":"","modifier_type":"off","modifier_values":"","hierarchical":"no","multiple":"no","ghosts":"no","preserve_ghosts":"no","operator":"and","orderby":"count","count":"10"},{"name":"genres","label":"Genres","type":"fselect","source":"tax/genre","label_any":"Any Genre","parent_term":"","modifier_type":"off","modifier_values":"","hierarchical":"no","multiple":"no","ghosts":"no","preserve_ghosts":"no","operator":"and","orderby":"count","count":"30"},{"name":"venues","label":"Venues","type":"fselect","source":"tax/venue","label_any":"Any Venue","parent_term":"","modifier_type":"off","modifier_values":"","hierarchical":"no","multiple":"no","ghosts":"yes","preserve_ghosts":"yes","operator":"and","orderby":"count","count":"-1"},{"name":"festival_season_series","label":"Festival/Season/Series","type":"fselect","source":"tax/festival_season_or_series","label_any":"Festival/Season/Series","parent_term":"","modifier_type":"off","modifier_values":"","hierarchical":"no","multiple":"no","ghosts":"yes","preserve_ghosts":"yes","operator":"and","orderby":"count","count":"10"},{"name":"sections","label":"Sections","type":"fselect","source":"tax/sections","label_any":"Any Section","parent_term":"","modifier_type":"off","modifier_values":"","hierarchical":"no","multiple":"no","ghosts":"yes","preserve_ghosts":"yes","operator":"and","orderby":"count","count":"10"},{"name":"search_words","label":"Search Words","type":"fselect","source":"tax/search_keywords","label_any":"Any","parent_term":"","modifier_type":"off","modifier_values":"","hierarchical":"no","multiple":"no","ghosts":"yes","preserve_ghosts":"yes","operator":"or","orderby":"count","count":"10"},{"name":"start_date","label":"Start Date","type":"radio","source":"tax/event_dates","label_any":"ALL","parent_term":"","modifier_type":"off","modifier_values":"","ghosts":"no","preserve_ghosts":"yes","orderby":"raw_value","count":"-1"},{"name":"filter_sort","label":"Filter Sort","type":"sort","default_label":"Sort by","sort_options":[{"label":"Title ASC","name":"title","orderby":[{"key":"title","order":"ASC","type":"CHAR"}]},{"label":"Title DESC","name":"title_desc","orderby":[{"key":"title","order":"DESC","type":"CHAR"}]},{"label":"Chronological","name":"date_asc","orderby":[{"key":"cf/next_earliest_event_date","order":"ASC","type":"NUMERIC"}]}]},{"name":"search","label":"Search","type":"search","search_engine":"","placeholder":"Search","auto_refresh":"no"},{"name":"event_types","label":"Event Types","type":"fselect","source":"tax/event_types","label_any":"Any Type","parent_term":"","modifier_type":"off","modifier_values":"","hierarchical":"no","multiple":"no","ghosts":"no","preserve_ghosts":"no","operator":"and","orderby":"count","count":"30"},{"name":"alpha","label":"Alpha","type":"alpha","source":"post_title","label_any":"Any"}],"templates":[{"name":"event_template","label":"Event Grid Template","query":"<?php\nreturn [\n \"post_type\" => [\n \"events\"\n ],\n \"post_status\" => [\n \"publish\"\n ],\n \"meta_query\" => [\n [\n \"key\" => \"in_past\",\n \"compare\" => \"!=\",\n \"type\" => \"CHAR\",\n \"value\" => \"true\"\n ]\n ],\n \"posts_per_page\" => 9\n];","template":"","layout":{"items":[{"type":"row","items":[{"type":"col","items":[{"type":"item","source":"featured_image","settings":{"image_size":"medium","link":{"type":"post","href":"","target":""},"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-image","css_class":"","is_hidden":""}}],"settings":{"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-featured-image-wrapper","css_class":""}}],"settings":{"grid_template_columns":"1fr","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-featured-row","css_class":""}},{"type":"row","items":[{"type":"col","items":[{"type":"item","source":"post_title","settings":{"link":{"type":"post","href":"","target":""},"prefix":"","suffix":"","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-title","css_class":"","is_hidden":""}},{"type":"item","source":"tax/genre","settings":{"separator":", ","term_link":{"type":"none","href":"","target":""},"prefix":"","suffix":"","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"#4c158d","text_style":{"align":"","bold":true,"italic":false},"font_size":{"unit":"px","size":16},"name":"elevent-genre","css_class":"","is_hidden":""}},{"type":"item","source":"acf/field_635c194e1b637","settings":{"prefix":"","suffix":"","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":14},"name":"event-description","css_class":"","is_hidden":""}},{"type":"item","source":"button","settings":{"button_text":"Buy Now","button_text_color":"","button_color":"","button_padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"button_border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"link":{"type":"post","href":"","target":""},"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-button","css_class":"","is_hidden":""}},{"type":"item","source":"html","settings":{"content":"{{attachment:url}}","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-attachment","css_class":"","is_hidden":""}},{"type":"item","source":"html","settings":{"content":"[elevent_promo_event_date]","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-3wtxa7","css_class":"","is_hidden":""}}],"settings":{"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-detail-wrapper","css_class":""}}],"settings":{"grid_template_columns":"1fr","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-info-row","css_class":""}}],"settings":{"num_columns":3,"grid_gap":24,"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-grid","css_class":"","custom_css":"","no_results_text":""}},"query_obj":{"post_type":[{"label":"Elevent Events","value":"events"}],"posts_per_page":9,"orderby":[{"key":"title","order":"ASC","type":"CHAR"}],"filters":[{"key":"cf/event_status","value":["Coming Soon","Now Showing"],"compare":"IN","type":"CHAR"}]},"modes":{"display":"visual","query":"visual"}},{"name":"event_template_single_day","label":"Event Grid - Single Day","query":"<?php\nreturn [\n \"post_type\" => [\n \"events\"\n ],\n \"post_status\" => [\n \"publish\"\n ],\n \"meta_query\" => [\n [\n \"key\" => \"in_past\",\n \"compare\" => \"!=\",\n \"type\" => \"CHAR\",\n \"value\" => \"true\"\n ]\n ],\n \"posts_per_page\" => 9\n];","template":"","layout":{"items":[{"type":"row","items":[{"type":"col","items":[{"type":"item","source":"featured_image","settings":{"image_size":"medium","link":{"type":"post","href":"","target":""},"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-image","css_class":"","is_hidden":""}}],"settings":{"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-featured-image-wrapper","css_class":""}}],"settings":{"grid_template_columns":"1fr","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-featured-row","css_class":""}},{"type":"row","items":[{"type":"col","items":[{"type":"item","source":"post_title","settings":{"link":{"type":"post","href":"","target":""},"prefix":"","suffix":"","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-title","css_class":"","is_hidden":""}},{"type":"item","source":"tax/genre","settings":{"separator":", ","term_link":{"type":"none","href":"","target":""},"prefix":"","suffix":"","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"#4c158d","text_style":{"align":"","bold":true,"italic":false},"font_size":{"unit":"px","size":16},"name":"elevent-genre","css_class":"","is_hidden":""}},{"type":"item","source":"acf/field_635c194e1b637","settings":{"prefix":"","suffix":"","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":14},"name":"event-description","css_class":"","is_hidden":""}},{"type":"item","source":"button","settings":{"button_text":"Buy Now","button_text_color":"","button_color":"","button_padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"button_border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"link":{"type":"post","href":"","target":""},"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-button","css_class":"","is_hidden":""}},{"type":"item","source":"html","settings":{"content":"{{attachment:url}}","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-attachment","css_class":"","is_hidden":""}},{"type":"item","source":"tax/event_dates","settings":{"separator":", ","term_link":{"type":"none","href":"","target":""},"prefix":"","suffix":"","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-lb9irb","css_class":"","is_hidden":""}}],"settings":{"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-detail-wrapper","css_class":""}}],"settings":{"grid_template_columns":"1fr","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-info-row","css_class":""}}],"settings":{"num_columns":3,"grid_gap":24,"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-grid","css_class":"","custom_css":""}},"query_obj":{"post_type":[{"label":"Elevent Events","value":"events"}],"posts_per_page":9,"orderby":[{"key":"title","order":"ASC","type":"CHAR"}],"filters":[{"key":"cf/event_status","value":["Coming Soon","Now Showing"],"compare":"IN","type":"CHAR"}]},"modes":{"display":"visual","query":"visual"}},{"name":"event_list_template","label":"Event List Template","query":"<?php return [\n \"post_type\" => [\n \"events\"\n ],\n \"post_status\" => [\n \"publish\"\n ],\n \"meta_query\" => [\n [\n \"key\" => \"event_status\",\n \"compare\" => \"IN\",\n \"type\" => \"CHAR\",\n \"value\" => [\n \"Coming Soon\",\n \"Now Showing\"\n ]\n ]\n ],\n/* \"tax_query\" => [\n [\n \"taxonomy\" => \"festival_season_or_series\",\n \"field\" => \"slug\",\n \"terms\" => \"cinemas-2023\" // Replace this with the slug of your desired tag\n ]\n ], */\n \"meta_key\" => \"next_earliest_event_date\", // Sorting based on the \"next_earliest_event_date\" meta field\n \"orderby\" => \"meta_value\", // Order the results based on the meta value\n \"order\" => \"ASC\", // Ascending order (earliest first)\n \"posts_per_page\" => 9\n];","template":"","layout":{"items":[{"type":"row","items":[{"type":"col","items":[{"type":"item","source":"featured_image","settings":{"image_size":"thumbnail","link":{"type":"post","href":"","target":""},"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-image","css_class":"","is_hidden":""}}],"settings":{"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"thumbnail-wrapper","css_class":""}},{"type":"col","items":[{"type":"item","source":"post_title","settings":{"link":{"type":"post","href":"","target":""},"prefix":"","suffix":"","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"title","css_class":"","is_hidden":""}},{"type":"row","items":[{"type":"col","items":[{"type":"item","source":"cf/running_time","settings":{"field_type":"text","date_format":"F j, Y","input_format":"Y-m-d","number_format":"","link":{"type":"none","href":"","target":""},"prefix":"","suffix":" min","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-running-time","css_class":"","is_hidden":""}}],"settings":{"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"e","css_class":""}},{"type":"col","items":[{"type":"item","source":"cf/year","settings":{"field_type":"text","date_format":"F j, Y","input_format":"Y-m-d","number_format":"","link":{"type":"none","href":"","target":""},"prefix":"","suffix":"","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-year","css_class":"","is_hidden":""}}],"settings":{"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-o81ve","css_class":""}},{"type":"col","items":[{"type":"item","source":"tax/country","settings":{"separator":", ","term_link":{"type":"none","href":"","target":""},"prefix":"","suffix":"","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-countries","css_class":"","is_hidden":false}}],"settings":{"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-4z2kxr","css_class":""}},{"type":"col","items":[{"type":"item","source":"cf/director","settings":{"field_type":"text","date_format":"F j, Y","input_format":"Y-m-d","number_format":"","link":{"type":"none","href":"","target":""},"prefix":"","suffix":"","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-director","css_class":"","is_hidden":""}}],"settings":{"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-rk78yd","css_class":""}}],"settings":{"grid_template_columns":"23.8% auto auto auto","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-detail-row","css_class":""}},{"type":"item","source":"post_content","settings":{"prefix":"","suffix":"","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-d7ox","css_class":"","is_hidden":""}},{"type":"item","source":"button","settings":{"button_text":"More Details","button_text_color":"","button_color":"","button_padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"button_border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"link":{"type":"post","href":"","target":""},"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-button","css_class":"","is_hidden":""}}],"settings":{"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"details","css_class":""}},{"type":"col","items":[{"type":"item","source":"html","settings":{"content":"{{showtime-tickets}}","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-7ubjzq","css_class":"","is_hidden":""}}],"settings":{"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"showtimes","css_class":""}}],"settings":{"grid_template_columns":"1fr 3fr 2fr","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event","css_class":""}}],"settings":{"num_columns":1,"grid_gap":10,"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"event-list","css_class":"","custom_css":"","no_results_text":""}},"query_obj":{"post_type":[{"label":"Elevent Events","value":"events"}],"posts_per_page":9,"orderby":[],"filters":[{"key":"cf/event_status","value":["Coming Soon","Now Showing"],"compare":"IN","type":"CHAR"}]},"modes":{"display":"visual","query":"advanced"}},{"name":"event_showtimes","label":"Event Showtimes","query":"<?php\nglobal $post;\n$showtimes = $post->showtimes;\n\nreturn [\n \"post_type\" => [\n \"event_showtimes\"\n ],\n \"post_status\" => [\n \"publish\"\n ],\n \"post__in\" => $showtimes,\n \"posts_per_page\" => -1\n];","template":"<?php\n$url_name = $post->elevent_event_url_name;\n$types_venues_dates_times = [];\n ?>\n\n<?php if ( have_posts() ) : ?>\n<?php echo \"<div class='event-detail-showtimes-list'>\";?>\n <?php while ( have_posts() ): the_post(); ?>\n <?php\n $type = get_term_by(\"id\", get_field(\"showtime_type\")[0], \"showtime_type\")->name;\n $date = get_term_by(\"id\", get_field(\"start_date\")[0], \"event_dates\")->slug;\n $venue = get_term_by(\"id\", get_field(\"venue\")[0], \"venue\")->name;\n $time = get_field(\"start_time\");\n $show_id = get_field(\"elevent_showtime_id\"); \n $widget = \"<elevent-ticket-button-widget event='{$url_name}' showtime='{$show_id}'>\n <button>{$time}</button>\n </elevent-ticket-button-widget>\";\n $types_venues_dates_times[$type][$venue][$date][$time] = $widget?>\n <?php endwhile; \n //print_r($types_dates_venues_times);\n foreach($types_venues_dates_times as $type => $venues_dates_times){\n echo '<div class=\"event_type\"><h2>' . $type . '</h2>';\n foreach($venues_dates_times as $venue => $dates_times){\n ksort($dates_times);\n echo '<div class=\"date\"><h3>' . $venue . '</h3>';\n foreach($dates_times as $date => $times){\n echo '<div class=\"venue\"><h4>' . date(\"M d\", strtotime($date)) . '</h4>';\n echo '<div class=\"times\">';\n foreach($times as $id => $widget){\n echo $widget;\n }\n echo '</div>';\n echo '</div>';\n }\n echo '</div>';\n }\n echo '</div>';\n }\n ?>\n<?php echo \"</div>\";?>\n<?php else : ?>\n <p><?php _e( 'Sorry, no showtimes available.' ); ?></p>\n<?php endif; ?>","layout":{"items":[{"type":"row","items":[{"type":"col","items":[{"type":"item","source":"post_title","settings":{"link":{"type":"none","href":"","target":""},"prefix":"","suffix":"","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-lzcgo","css_class":"","is_hidden":""}},{"type":"item","source":"acf/field_61d4b58c8c6f4","settings":{"prefix":"","suffix":"","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-cofio","css_class":"","is_hidden":""}}],"settings":{"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-0vmjg","css_class":""}}],"settings":{"grid_template_columns":"1fr","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-cobwc","css_class":""}}],"settings":{"num_columns":1,"grid_gap":10,"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-1s9a8e","css_class":"","custom_css":"","no_results_text":""}},"query_obj":{"post_type":[{"label":"Elevent Showtimes","value":"event_showtimes"}],"posts_per_page":10,"orderby":[],"filters":[{"key":"ID","value":[],"compare":"IN","type":"CHAR"}]},"modes":{"display":"advanced","query":"advanced"}},{"name":"calendar_view","label":"Calendar View","query":"","template":"<?php if ( have_posts() ) : ?>\n<link href='<?php echo ELEVENTAPI_PLUGIN_URL ;?>core/includes/fullcalendar/lib/main.css' rel='stylesheet' />\n<script AS=\"fullcal\" src='<?php echo ELEVENTAPI_PLUGIN_URL ;?>core/includes/fullcalendar/lib/main.js'></script>\n <?php while ( have_posts() ): the_post(); echo get_field(\"start_date\"); ?>\n<?php \n$showtimes = get_field(\"showtimes\");\nforeach ($showtimes as $id){\n\n $id = intval(get_the_id());echo $id;\n $temp = [\"id\"=>$id];\n $start_d = get_post_meta($id, \"start_date\");\n $end_d = get_post_meta($id,\"end_date\");\n if (gettype($start_d) == \"array\"){\n $start_d = $start_d[0];\n }\n if (gettype($end_d) == \"array\"){\n $end_d = $end_d[0];\n }\n $start_d = get_term_by(\"id\", $start_d, 'event_dates')->slug;\n $end_d = get_term_by(\"id\", $end_d, 'event_dates')->slug;\n $start_t = get_post_meta($id, \"start_time\");\n $end_t = get_field($id, \"end_time\");\n $start_t = date(\"H:i:s\", strtotime($start_t));\n $end_t = date(\"H:i:s\", strtotime($end_t));\n $temp[\"start\"] = $start_d . \"T\" . $start_t;\n $temp[\"end\"] = $end_d . \"T\" . $end_t;\n $venue = get_post_meta($id,\"venue\");\n if (gettype($venue)==\"array\") {\n $venue = $venue[0];\n }\n if (gettype($venue) == 'integer' || gettype($venue) == 'string') {\n $venue = get_term_by(\"id\", $venue, \"venue\");\n }\n if (gettype($venue) == 'object') {\n $venue = $venue->name;\n }\n $temp[\"title\"] = $venue;\n\n}\n\n\n?>\n\n <?php endwhile; ?>\n<?php else : ?>\n <p><?php _e( 'Sorry, no showtimes available.' ); ?></p>\n<?php endif; ?>","layout":{"items":[{"type":"row","items":[{"type":"col","items":[],"settings":{"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-q79hj","css_class":""}}],"settings":{"grid_template_columns":"1fr","border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-yfn0z","css_class":""}}],"settings":{"num_columns":1,"grid_gap":10,"border":{"style":"none","color":"","width":{"unit":"px","top":0,"right":0,"bottom":0,"left":0}},"background_color":"","padding":{"unit":"px","top":0,"right":0,"bottom":0,"left":0},"text_color":"","text_style":{"align":"","bold":false,"italic":false},"font_size":{"unit":"px","size":0},"name":"el-hn1y6","css_class":"","custom_css":""}},"query_obj":{"post_type":[{"label":"Elevent Events","value":"events"}],"posts_per_page":10,"orderby":[{"key":"title","order":"ASC","type":"CHAR"}],"filters":[{"key":"cf/event_status","value":["Coming Soon","Now Showing"],"compare":"IN","type":"CHAR"}]},"modes":{"display":"advanced","query":"visual"}}]}

Now you're pretty much set. All that's left is to do is connect to Elevent, decide what kind of templates you want to use, and start importing and creating content.

Not finding what you're looking for? Contact Us Directly