• Resolved Adrian Ionescu

    (@adrian2308)


    Hello.

    Using Timber you can render events from twig as an alternative for widgets.

    <article>
    {{ post.post_title }}
    {{ post.post_date|date(‘d M’) }}
    </article>

    My issue is that i managed to display only active events, still wondering how to display all of them.

    I guess i need to add few more rules in the array:

    ‘post_type’:’tribe_events’,
    ‘posts_per_page’:’3′,
    ‘post_status’:’published’,

    Also would be great to display “Venu Name” too.

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor Brian

    (@brianjessee)

    Hi,

    Thanks for using TEC.

    I am not sure what Timber is, but we do not support 3rd party coding for the most part.

    If this is coming from the Rest API that is not something we support yet until Endpoints are part of core in 4.5

    Let me know if you have any follow up questions.

    Thanks

Viewing 1 replies (of 1 total)

The topic ‘Render events from Twig’ is closed to new replies.