Support » Plugin: Events Shortcodes For The Events Calendar » No events through do_shortcode()

  • 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 3 years, 8 months ago by pcs1212.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support baljitdhanjal

    (@baljitdhanjal)

    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 3 years, 8 months ago by pcs1212.
    Plugin Support baljitdhanjal

    (@baljitdhanjal)

    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 contact@cooltimeline.com

    Thanks

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