Support

Home Forums Event Espresso Premium Multiple [Expresso_Events] shortcode issue

Multiple [Expresso_Events] shortcode issue

Posted: December 17, 2015 at 6:54 pm

Viewing 3 reply threads


David Haworth

December 17, 2015 at 6:54 pm

We are experiencing an issue when we place two or more [Expresso_Events] shortcode on the same page. It appears if the filter for the first shortcode is overwriting the subsequent filters in the following lists. For example on our home page we have a list of program events and Featured events see below:

<div class=”coming-events”>
<h1>UPCOMING PROGRAMS</h1>
[ESPRESSO_EVENTS limit=”3″ category_slug=”program”]
</div>
<div class=”feature-event”>
[ESPRESSO_EVENTS title=”Feature Event” limit=”1″ category_slug=”featured”]
</div>

Two lists do appear however they both list events filtered with the Program category.

Can someone please let me know what we are doing wrong?

If you would like to see the site please visit http://www.soapbreath.com/Matrix however to get the page to list ‘somewhat’ correctly we’ve had to remove the catagory filter for the first list.


Tony

  • Support Staff

December 18, 2015 at 8:06 am

Hi there,

Can you update to the latest version of Event Espresso and see if the same happens please?

Your site is currently running 4.8.20, the latest version is 4.8.27.

I’ve tested using multiple shortcodes on a single page and each shortcode pulls in only the events set within the parameters.


David Haworth

December 20, 2015 at 11:12 pm

Hi,

Just updated the plugin to the latest version, but it is still producing the double listing. Hope you can help.

Here is the system information

WordPress Version: 4.4
PHP Version: 5.4.45
MySQL Version: 5.5.5
Event Espresso Version: 4.8.27.p
WordPress Address (URL): http://www.matrixatmelbourne.org.au/wp_Matrix2016
Site address (URL): http://www.matrixatmelbourne.org.au

Active Plugins
Name Gravity Forms
PluginURI http://www.gravityforms.com
Version 1.9.15

Name BackupBuddy
PluginURI http://ithemes.com/purchase/backupbuddy/
Version 6.4.0.1

Name Cornerstone
PluginURI http://theme.co/cornerstone
Version 1.0.11

Name Duplicate Post
PluginURI http://lopo.it/duplicate-post-plugin/
Version 2.6

Name Easy Smooth Scroll Links
PluginURI http://www.jeriffcheng.com/wordpress-plugins/easy-smooth-scroll-links
Version 2.0

Name Event Espresso – MER – Multi Event Registration (EE 4.7.0+)
PluginURI http://www.eventespresso.com
Version 2.0.7.p

Name Event Espresso
PluginURI https://eventespresso.com/pricing/?ee_ver=ee4&utm_source=ee4_plugin_admin&utm_medium=link&utm_campaign=wordpress_plugins_page&utm_content=support_link
Version 4.8.27.p

Name Limit Login Attempts
PluginURI http://devel.kostdoktorn.se/limit-login-attempts
Version 1.7.1

Name LoopBuddy
PluginURI http://ithemes.com/purchase/loopbuddy/
Version 1.4.29

Name MCE Table Buttons
PluginURI http://10up.com/plugins-modules/wordpress-mce-table-buttons/
Version 3.2

Name Revolution Slider
PluginURI http://www.revolution.themepunch.com/
Version 5.0.9

Name Role Scoper
PluginURI http://agapetry.net/
Version 1.3.67

Name Typekit Fonts for WordPress
PluginURI https://om4.com.au/plugins/typekit-fonts-for-wordpress-plugin/
Version 1.8

Here is the HTML that we are using in a widget to display the two lists.

<div class="event-wrapper">
<div class="event-buttons">
<ul class="x-block-grid event_buttons three-up"><li class="x-block-grid-item matrix_purple matrix_button"><a class="x-btn x-btn-pill x-btn-mini" href="http://www.matrixatmelbourne.org.au/wp_Matrix2016/programs/#post-237" data-options="thumbnail: ''">PROGRAMS</a></li><li class="x-block-grid-item matrix_green matrix_button"><a class="x-btn x-btn-pill x-btn-mini" href="http://www.matrixatmelbourne.org.au/wp_Matrix2016/workshops/#post-240" data-options="thumbnail: ''">WORKSHOPS</a></li><li class="x-block-grid-item matrix_blue matrix_button"><a class="x-btn x-btn-pill x-btn-mini" href="http://www.matrixatmelbourne.org.au/wp_Matrix2016/other-events/#post-242" data-options="thumbnail: ''">OTHER EVENTS</a></li></ul>
</div>
<div style="display:table; width:97%; margin-left:3%;">
<div class="coming-events-wrapper">
<div class="coming-events">
[ESPRESSO_EVENTS limit="3" category_slug="program"]
</div>
<div class="feature-event">
[ESPRESSO_EVENTS limit="1" category_slug="featured" title="Featured Event"]
</div>
</div>
</div>
</div>


Josh

  • Support Staff

December 21, 2015 at 1:44 pm

There’s a possibility that the Loop Buddy plugin is altering the loop that runs within the shortcodes. Have you checked?

Viewing 3 reply threads

The support post ‘Multiple [Expresso_Events] shortcode issue’ 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