Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 second event list template | Event Espresso - Staging Server
Hello,
Can i use a second event list template? I would like to be able to display all events from a certain category but this time with all data of every event found incl. meta boxes.
Could i use copies of the template files event_list.php and event_list_display.php and modify those? Then i only would need to create a new shortcode adressing those templates …maybe… .
In case that is the way to go, where do i find the original shortcode generation for [EVENT_LIST …..].?
Or could i just modify the table view template to achive the same?
It is possible to do what you are asking but not easy. You would need to duplicate the shortcode and also the templates as the shortcode basically calls them. You may also need to modify other areas.
I am wondering if it might be easier to modify the template to do an if statement based on category and output the data that way.
The shortcode is defined in event-espresso/includes/shortcodes.php line 391-404.
What you will find is this calls the function event_espresso_get_event_details() in event_list.php
That function is pluggable, meaning if you are going to modify it, I would recommend doing so with the Custom Files Add-on copying the entire functions into that and modifying it there.
Please be aware that function is used in multiple places via multiple other functions so modifications you make may also affect unexpected areas.
The support post ‘second event list 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.