Title: Shortcode for Today
Last modified: August 30, 2016

---

# Shortcode for Today

 *  Resolved [mosabua](https://wordpress.org/support/users/mosabua/)
 * (@mosabua)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-today/)
 * Hi,
 * is there a shortcode to show the events of today?
 * thanks werner
 * [https://wordpress.org/plugins/all-in-one-event-calendar/](https://wordpress.org/plugins/all-in-one-event-calendar/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-today/#post-6256990)
 * Hi Werner,
 * Use the shortcode: [ai1ec exact_date=’23-6-2015′]
 *  Thread Starter [mosabua](https://wordpress.org/support/users/mosabua/)
 * (@mosabua)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-today/#post-6257000)
 * Thanks for the reply. I added a page template with the following code to get 
   the today dynamically which works really nice:
 *     ```
       <?php
       $t = '[ai1ec exact_date=' . date(d-n-Y) . ']';
       echo do_shortcode( $t );
       ?>
       ```
   
 * But the thing is that I would like to display ONLY the events of today and not
   the future ones as well… any chance to make this happen?
 * thanks werner
 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-today/#post-6257039)
 * Unfortunately this is not possible, you can add a limit, it might help, example:[
   ai1ec exact_date=’23-6-2015′ events_limit=”5″]
 *  Thread Starter [mosabua](https://wordpress.org/support/users/mosabua/)
 * (@mosabua)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-today/#post-6257060)
 * Hi Benjamin
 * thanks again for your reply. I will check if the limit helps me, otherwise I 
   will just make a wordpress query for the ai1ec_event post-type with the date 
   of today 🙂
 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-today/#post-6257077)
 * No problem 😉

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Shortcode for Today’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-one-event-calendar.svg)
 * [Timely All-in-One Events Calendar](https://wordpress.org/plugins/all-in-one-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-event-calendar/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Benjamin](https://wordpress.org/support/users/bsokic/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-today/#post-6257077)
 * Status: resolved