Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Werner,

    Use the shortcode: [ai1ec exact_date=’23-6-2015′]

    Thread Starter mosabua

    (@mosabua)

    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

    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

    (@mosabua)

    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 ??

    No problem ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcode for Today’ is closed to new replies.