Home>Support>Carousel Widget and Events Manager Plugin

Carousel Widget and Events Manager Plugin

Hi,

I want to display with “Carousel Widget” the “”Events Manager Plugin” Posts by Events date. But no matter what I do they always appear in publish date . I try the different Order in the Built Post Query (including By Meta Value and By Numeric Meta Value) but it always list in Publish date.

I tested also The “Events Calendar Plugin” and for that plugin it does list the posts by Events date (even with ordered by Publish date).

Could you please applied the same logic that you use for the “Events Calendar” Posts to the “Events Manager” Posts.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hi Ldeschenes

    Thanks for reaching out.

    The query builder component of the Carousel Widget is working with the information each post type provides. Unfortunately, there isn’t usually a change we can make to the query builder to change the output of a specific post type, the change would usually have to come from the specific plugin. If you have a moment, it might be interesting to see if any of the other Post Carousel plugins can do a better job:

    https://wordpress.org/plugins/search.php?type=term&q=post+carousel

  2. 8 years, 3 months ago ldeschenes

    Thanks for the answer, Andrew.

    I had done the search for others Carousel Plugins. The only Plugins that worked with Events Manager are those by Sildervilla. In particular “Roster Slider” http://slidervilla.com/roster/

    Unfortunutaly its not free (They have a free version Smooth Slider but it is not a Carousel).

    They are able to display Events Manager Post in Event Date Order in using the information the Events Manager Post provides.
    Somehow they did find a way to do it. You should be able to do the same.

    BTW, I ask The Events Manager plugin developpers and they say I have to ask you… ;-)

    Could you check with the developpers again? Thanks!

  3. 8 years, 3 months ago ldeschenes

    Andrew,

    Here is a code Snippet that was posted on the Events Manager Support Forum.
    It might not applied directly but might give ideas to your developpers.

    function my_em_wp_query(){	$args = array(		'post_type' => 'event',		'posts_per_page' => 100,		'meta_query' => array( 'key' => '_start_ts', 'value' => current_time('timestamp'), 'compare' => '>=', 'type'=>'numeric' ),		'orderby' => 'meta_value_num',		'order' => 'ASC',		'meta_key' => '_start_ts',		'meta_value' => current_time('timestamp'),		'meta_value_num' => current_time('timestamp'),		'meta_compare' => '>='	);	// The Query	$query = new WP_Query( $args );	// The Loop	while($query->have_posts()):	$query->next_post();	$id = $query->post->ID;	echo '<li>';	echo get_the_title($id);	echo ' - '. get_post_meta($id, '_event_start_date', true);	echo '</li>';	endwhile;	// Reset Post Data	wp_reset_postdata();}add_shortcode('em_wp_query','my_em_wp_query');
  4. 8 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Thanks.

    Would it be possible to send us an events XML export? If you go to Tools > Export you should be able to export only your events. Please, send us that file using a site like Dropbox or https://www.wetransfer.com/. This will help us jumpstart testing a little bit.

  5. 8 years, 3 months ago ldeschenes

    Andrew,

    Here is the link on onedrive
    Hope you can get it. If not callback.
    There is only a few dummy posts for testing purposes.

  6. 8 years, 3 months ago ldeschenes

    Oups! Link again https://1drv.ms/u/s!AubOcySsusVxgc1WrOuSI-ouH_92HQ
    https://1drv.ms/u/s!AubOcySsusVxgc1WrOuSI-ouH_92HQ

  7. 8 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Thanks for your help; I’ve logged a bug report for our developers to take a look at.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More