[Support request] GeneratePress and The Events Calendar Mainloop-Function

Home Forums Support [Support request] GeneratePress and The Events Calendar Mainloop-Function

Home Forums Support GeneratePress and The Events Calendar Mainloop-Function

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2361209
    Marcus

    Hi!

    I use GeneratePress as a theme for a regional magazine, and also offer an events calendar with the plugin “The Events Calendar”.

    This offers a so-called main loop function to integrate and publish events in the blog loop.

    Unfortunately this doesn’t work for me!

    Any idea how to get the function working?

    #2361799
    Ying
    Staff
    Customer Support

    Hi Marcus,

    I’m not sure I understand your question.

    Is the event a CPT? And what does it mean to integrate and publish events in the blog loop?

    Can you explain a bit more about the situation here?

    Let me know 🙂

    #2361859
    Marcus

    Hello Ying!

    Main loop means that an event can be published as a post and included in the regular loop for posting the articles.

    In my example, in the articles above ‘Other current articles’.

    Here’s an article from the authors of the calendar that explains it a bit more: https://theeventscalendar.com/extensions/advanced-options-for-adding-events-to-the-main-blog-loop/

    #2362077
    Fernando
    Customer Support

    Hi Marcus,

    I believe this function by TEC just adds the events to the Main Query through pre_get_posts. GeneratePress shouldn’t hinder this from occurring.

    Do you have any custom PHP code in your site? Or other plugins? It may be good the try deactivating plugins and codes temporarily to test for any conflict.

    It would be best as well to reach out the The Events Calendar support team for assistance regarding this.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.