Shortcode not filtering categories

Home Forums Calendar Products Events Calendar PRO Shortcode not filtering categories

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1374123
    Raymond Gillespie
    Participant

    Hello,

    I have created a custom PHP template for a page that includes this php/shortcode:

    <?php echo do_shortcode(‘[tribe_events_list]’); ?>

    That seems to work fine, and I can also include the ‘limit’ parameter which works correctly. However, whenever I try to filter by category, it just shows all the events, as if I hadn’t filtered at all. For example, this code:

    <?php echo do_shortcode(‘[tribe_events_list category=”walking”]’); ?>

    That doesn’t filter anything and just lists all events.

    Can you help?

    #1374826
    Raymond Gillespie
    Participant

    It’s OK – I’ve gone back to the drawing board after discovering the ‘photo’ view 🙂

    #1374971
    Victor
    Keymaster

    Hi Raymond!

    Thanks for getting in touch with us!

    The shortcode should work find the way you used it. Do make sure to use straight quotes instead of curly quotes. Like this:

    <?php echo do_shortcode('[tribe_events_list category="walking"]'); ?>

    As you marked it “Resolved” I’ll go ahead and close this thread, but don’t hesitate to open a new topic if anything comes up and we’d be happy to help.

    Best,
    Victor

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Shortcode not filtering categories’ is closed to new replies.