• pcamepc

    (@pcamepc)


    Hi,

    I currently have 3 events in my eventbrite account, but on my event page i can only see two…

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter pcamepc

    (@pcamepc)

    Ok,

    I made it work by adding ‘organizer_id’ => 12911249493 in the eventbrite-index.php, but I have another question.

    When I update an event (like change the title) in eventbrite, it doesn’t update on my website. If I disconnect and reconnect the api in keyring, magic, it’s updated. Why ? I don’t want to reconnect each time.

    Thanks

    • This reply was modified 8 years ago by pcamepc.

    @pcamepc Have you figured out how to get them to display without reconnecting each time? What is the full path you used with the org id?

    Thread Starter pcamepc

    (@pcamepc)

    Hi,

    The full path is : /wp-content/plugins/eventbrite-api/tmpl/eventbrite-index.php and I added this ‘organizer_id’ => 12911249493, in :

    // Set up and call our Eventbrite query.
    $events = new Eventbrite_Query( apply_filters( ‘eventbrite_query_args’, array(
    ‘organizer_id’ => 12911249493,
    ‘include_unavailable_events’ => true
    ) ) );

    For the refresh, I added this to my theme functions.php :

    /*** Reduce the eventbrite api default cache time from one day to one hour. ***/
    function eventbrite_api_cache_one_hour() {
    return HOUR_IN_SECONDS;
    }
    add_filter( ‘eventbrite_cache_expiry’, ‘eventbrite_api_cache_one_hour’ );

    Thanks

    • This reply was modified 7 years, 10 months ago by pcamepc.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Only show 2 events’ is closed to new replies.