Forum Replies Created
-
AuthorPosts
-
Luke
ParticipantYep that helps, thanks Jonah. It would be nice if you could choose a template for it too use.
Luke
ParticipantGuys?
Luke
ParticipantI’ve just read this:
I am wondering if there is an update on when 3.0 is coming out? Cliff is right and the reoccuring events is a major issue for me as well.
Luke
ParticipantThanks Barry.
I used this inside the main template, works a charm, I was just worried about server load:
$ptype = get_post_type( $post->ID )
if( $ptype == “tribe_venue” ) :Luke
ParticipantBarry, that wasn’t really the question. I’ve already done that.
The single-venue.php template is wrapped in a template choosen via the ui and it is the template for the events. I want venue list to be wrapped in its own templateLuke
ParticipantIs there anyway I can echo the Venue slug? eg, “this-venue” within the event loop?
Luke
Participant<div class="event-li venue-“>
Luke
ParticipantSorry I keep answering my own questions, this is the code I used:
$venueID = tribe_get_venue_id();
Then on the div i used:
<div class="event-li venue-“>
Is there anyway I can echo the Venue slug? eg, “this-venue”Luke
ParticipantPS if anyone wants the code let me know.
Luke
ParticipantAll good thanks Barry, I just used the foreach loop from single_venue.php, works a charm, thanks 🙂
Luke
Participantnot sure why non of the code showed up :S
Luke
ParticipantAnswered me question i did’s 🙂
For anyone that whats to query events by venue for something custom this is the code i used code from the single_venue.php
’15’, ‘eventDisplay’ => ‘upcoming’, ‘posts_per_page’ => -1));
global $post;
$first = true;
?>
0 ): ?>// the title etc.
-
AuthorPosts
