Site logo

Archived topic

GeneratePress and The Events Calendar Mainloop-Function

3 replies · Started by Marcus on October 3, 2022

Viewing posts 1–4 of 4

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?

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 :)

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.

This archived topic is closed to new replies.