Title: Elementar&amp;Crocoblock
Last modified: July 19, 2021

---

# Elementar&Crocoblock

 *  Resolved [rasenkantenstein](https://wordpress.org/support/users/rasenkantenstein/)
 * (@rasenkantenstein)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/elementarcrocoblock/)
 * Hi all,
    I am using Elementar&Crocoblock. With Crocoblock one is able to create
   custom listings. I have created such a listing based on events manager. It looks
   all exactly like I want it to look.
 * However, there is one caveat. I only want to display future events. When using
   the widget, the widget itself takes care of querying only future events.
 * With Elementor/JetEngine (Crocoblock) have the option to query terms, post-data,
   meta data etc.
 * But let’s assume I want to use terms or post-data. What terms are actually available
   to check against future posts? Has anybody used EM with elementor?
 * Thank you and best regards,
    Konstantin
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Felementarcrocoblock%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/elementarcrocoblock/#post-14679545)
 * Hi,
 * Unfortunately, we are quite limited with regards to other plugins or themes at
   the moment and have not yet integrated or supported Elementar & Crocoblock.
 * However, if it’s not the official Events Widget, you can need to try custom coding
   with wp_query.
 * e.g.
 *     ```
       $loop = new WP_Query(array(
           'post_type' => 'event',
           'event-categories'=> 'workshops',
           'orderby' => 'meta_value', // We want to organize the events by date 
           'meta_key' => '_event_start_date', // Grab the "start date" field created via "More Fields" plugin (stored in YYYY-MM-DD format)
           'posts_per_page' => 20,
            'order' => 'ASC',
           'meta_query' => array( // WordPress has all the results, now, return only the events after today's date
               array(
                   'key' => '_event_start_date', // Check the start date field
                   'value' => date("d-m-Y"), // Set today's date (note the similar format)
                   'compare' => '>=', // Return the ones greater than or equal to today's date
                   'type' => 'DATE' // Let WordPress know we're working with date
                   ) )
                   ));
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Elementar&Crocoblock’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [crocoblock](https://wordpress.org/support/topic-tag/crocoblock/)
 * [JetEngine](https://wordpress.org/support/topic-tag/jetengine/)

 * 1 reply
 * 2 participants
 * Last reply from: [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/elementarcrocoblock/#post-14679545)
 * Status: resolved