Start and end date, category attributes not working on shortcode?

Home Forums Calendar Products Events Calendar PRO Start and end date, category attributes not working on shortcode?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1580424
    tpdweb
    Participant

    I’m trying to use the shortcode attributes fromdate, todate and category to display only events in the “availability” category between July 1, 2018 and August 31, 2018.

    I’ve set up 5 test events(screenshot attached).

    I’m using this code:

    <?php echo do_shortcode('[tribe_events tribe-bar="false" category="availability" fromdate="2018-07-01" todate="2018-08-31"]'); ?>

    Seems straightforward enough to me, but it’s still spitting out all events regardless of date or category(screenshots attached).

    Is there a comprehensive list of shortcode attributes anywhere? The Events Calendar documentation often seems lacking in depth – there’ll be a mention of 5 – 10 things you can do with a particular feature like shortcodes or queries, but there doesn’t seem to be an exhaustive list of every attribute or every variable? I found a listing on an unrelated site, but the info was out of date.

    #1581333

    Hi Vanessa,

    Thanks so much for reaching out!

    The following articles can provide you with the full list of available shortcodes:

    Let me know if that helps!

     

    Thanks,

    Jaime

    #1581441
    tpdweb
    Participant

    Hey Jaime,

    Thanks for getting back! Yea, I’ve looked at those links, unfortunately the documentation is pretty sparse – it only gives a handful of common uses. Is there a docs page with a listing of all available shortcode attributes?

    For example, this page has a whole listing of attributes. But, it’s not an official one and some of the stuff appears to be outdated or incorrect.

    Can you tell why the category attribute wouldn’t be working? That one seems pretty straightforward and I’m using it exactly as it’s listed in the docs you sent.

    #1582076

    Hi Vanessa,

    The page that you linked to is for a third-party plugin that we have no affiliation with.  If you are having issues with those shortcodes, you may want to reach out to the plugin developer there.

    Let me know if you have any questions for us related to this issue!

     

    Thanks,

    Jaime

    #1598107
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Start and end date, category attributes not working on shortcode?’ is closed to new replies.