• Resolved pettedemon

    (@pettedemon)


    Hi,
    I want make a page with all the venues of my events.
    I think I have to create a custom page, because the venue archive page there isn’t.
    So what about the correct loop to display all venue?
    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @pettedemon,

    Thanks for posting, & I’m happy to help.:)

    This kind of request would require some customization. We have some resources for doing that here. If you need to find someone to help with the customizations, we also have some tips for finding help here.

    Hope this helps!

    Thanks,

    Shelby

    Thread Starter pettedemon

    (@pettedemon)

    Thanks!
    I find the solution and the correct loop
    thanks

    	$organizers = get_posts(array('post_type' => TribeEvents::VENUE_POST_TYPE,'orderby' => 'rand'));
    foreach ($organizers as $organizer) {
    	
    	$id_venue = $organizer->ID;
    $indirizzo_completo = tribe_get_venue_details ($id_venue)['address'];
    $titolo_autodromo = $organizer->post_title;
    $nazione_circuiti = tribe_get_country( $id_venue );
    $organizer = $organizer->guid;
    
    }
    

    thanks

    Hey @pettedemon,

    Glad to see you found a solution! Be sure to reach out in the future if you have questions. 🙂

    Best,

    Shelby

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Venue Pages Archive’ is closed to new replies.