• When I call shortcode in page it works without any problem but when I use function
    <?php echo do_shortcode(‘[events-calendar-templates template=”default” date_format=”full” start_date=”” end_date=”” limit=”10″ order=”ASC” hide-venue=”no” time=”future” title=”Actions”]’); ?>
    then the result is ‘There are no upcoming events at this time.’

    • This topic was modified 6 years, 3 months ago by pcs1212.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    If you are selecting “Future” in “Events Time” option in shortcode then please make sure you have added Events of Future Date in Events.

    Thanks

    Thread Starter pcs1212

    (@pcs1212)

    As i wrote, when I use same shortcode (Ctrl+C Ctrl+V) in a page then it shows me 4 events. Wehn I call it from PHP in template section it renders ‘There are no upcoming events at this time.’

    • This reply was modified 6 years, 2 months ago by pcs1212.

    Hi there,

    I have checked our Plugin’s Shortcode by calling it from Template file and its working fine at my end.
    The problem that you are facing occurs when your Post loop overrides.
    Please check shortcode by adding it inside default page(template) and header.
    If you still unable to fix this issue please contact us at [email protected]

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No events through do_shortcode()’ is closed to new replies.