• Resolved nova93

    (@nova93)


    Hey guys!

    I have a problem with integration into Post Grid.

    The Events are showing nicely on the blog page, as well as events page. Not a problem there.

    However, on my homepage (static) I’m using post grid plugin, I believe it’s from Visual Composer but it could be an addon from Ultimate Addons for Visual Composer. It’s showing last two blog posts, but it doesn’t show events.

    There is an event created spanning second half of Feb ’16 until sometime April

    Look at bes.nott-studios.co.uk

    Cheers

    https://wordpress.org/plugins/the-events-calendar/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Brian

    (@brianjessee)

    Hi,

    Thanks for using TEC.

    Unfortunately, we do not have any features to integrate with Post Grid.

    Our Events are a custom post type (tribe-evnets) in WordPress and not posts.

    If they have a way to include a custom post type it might work there.

    Thanks

    Thread Starter nova93

    (@nova93)

    Hey!

    Thank you for swift reply

    There is an option which allows to input custom query. It says “Build custom query according to WordPress Codex.“.

    Any idea what I should input into it?

    Cheers

    Brook

    (@brook-tribe)

    Howdy Nova,

    The events post type is called “tribe_events”. That is usually the only thing specific to a plugin you will need to know to tap it with WP Queries. But I am not sure exactly where you will need to input this in Post Grid, or if you will need to write a full custom query built around the tribe_events post type. That sort of information really depends on how Post Grid is designed.

    I hope that helps get you started in the right direction. Wish we know more about that plugin to help. Cheers!
    – Brook

    Here’s a snippet of a custom query I am using in a post grid via Visual Composer to grab events from TEC:

    post_type=tribe_events&post_status=publish&_EventStartDate=>$today&orderby=_EventStartDate

    Hope this helps!

    Hey @dgfrench,

    That all looks correct to me. Is it still not working in the editor? If not, then it’s probably something that the Post Grid team will need to weigh in on since they know the editor better at this point.

    Geoff

    How do I tell it to grab from multiple event categories?

    Thread Starter nova93

    (@nova93)

    Hey!

    The theme author sent this:

    post_type=tribe_events&posts_per_page=4

    and it works like charm. The only problem is the event dates. I haven’t tried @dgfrench solution, but it certainly looks like it should work.

    Cheers!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Integration with Post Grid plugin from Visual Composer’ is closed to new replies.