Reoccurring events problem

Home Forums Calendar Products Events Calendar PRO Reoccurring events problem

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #141552
    hanten
    Participant

    I bought reoccurring events add-on, as I need it to include a couple weekly events. I’d love to loop-in events on my main page, but those reoccurring events take over the whole page. Same if I use tags.

    I know there is an option to only show the first event in list mode, but then my calendar isn’t accurate…. Anyway to feature events on the main page and still use reoccurring events?

    #142569
    Brook
    Participant

    Howdy hanten,

    That is a good question, that is certainly a bit frustrating. The customization you want is definitely possible, but will require some tinkering with PHP & SQL. Notice here how for our tribe_get_events queries we set the query_var ‘tribeHideRecurrence’ to 1. When that happens we then inject the SQL found on line 928, which limits the results to only the first event. You could run something similar on your home page regardless of the query_var. Maybe you could tap into ‘pre_get_posts’, use the WP API to detect if this is the main blog loop, then inject that SQL into the main query?

    Unfortunately that last paragraph is only going to make sense to those verse in PHP & SQL. If you are unable to make that modification and do not know someone whom you can hire, have no fear. We actually keep a list of freelancers who are quite capable of making changes on your behalf. You can obtain this list by emailing [email protected] and requesting it.

    Will that work for you? Please let me know. Cheers!

    – Brook

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Reoccurring events problem’ is closed to new replies.