Home › Forums › Calendar Products › Events Calendar PRO › List view Pulling in Random VENUE Name at end of Page Title
- This topic has 6 replies, 4 voices, and was last updated 9 years, 6 months ago by
Anonymous Customer.
-
AuthorPosts
-
September 10, 2016 at 2:52 pm #1162487
Anonymous Customer
ParticipantOn my calendar when I select list view the page title says – Events for September 10, 2016 – September 18, 2016 at “name of random Venue”
Im not sure why is is pulling in one of my venue names when this is a list of all upcoming events in my calendar not for the venue
-
This topic was modified 9 years, 7 months ago by
Anonymous Customer.
September 10, 2016 at 2:57 pm #1162489Anonymous Customer
ParticipantOk so it’s not as random as I thought, but still a problem. It pulls in the venue from the first event in the list even though it is listing events that are at multiple venues.
September 12, 2016 at 11:11 am #1162911Josh
ParticipantHey Robert,
Thanks for reaching out to us!
I’m sorry to hear that you’re having trouble with one of our plugins. As an initial step here, can you try following our Testing for Conflicts procedures to ensure there isn’t an issue occurring here with an existing plugin or theme?
My first assumption here would be that there is a customization here with your existing theme that is causing this particular element on your site. If we can narrow it down to that, we can help get you pointed in the right direction for where the conflicting code might be.
Let me know what you find here.
Thanks!
September 12, 2016 at 11:36 am #1162927Anonymous Customer
ParticipantThank you, it was a customization I made so that it could add the name of the venue to upcoming events in venue view.
It was in tribe-events/pro/list/content.php Is there a way to add this code so it only effects the venue page and not the main list here is the modification
<div id=”tribe-events-content” class=”tribe-events-list”>
<!– List Title –>
<?php do_action( ‘tribe_events_before_the_title’ ); ?><?php echo tribe_get_events_title() ?> at <?php echo tribe_get_venue( $venue_id ); ?>
<?php do_action( ‘tribe_events_after_the_title’ ); ?>
September 13, 2016 at 9:27 am #1163392Josh
ParticipantHey Robert,
Thanks for following up with us here!
You can put a conditional around the venue display there to check to see if the current view is that of a venue. For example:
if( is_singular( 'tribe_venue' ) ) { echo tribe_get_venue( $venue_id ); }Let me know if this helps.
Thanks!
October 5, 2016 at 9:35 am #1172764Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
This topic was modified 9 years, 7 months ago by
-
AuthorPosts
- The topic ‘List view Pulling in Random VENUE Name at end of Page Title’ is closed to new replies.
