List view Pulling in Random VENUE Name at end of Page Title

Home Forums Calendar Products Events Calendar PRO List view Pulling in Random VENUE Name at end of Page Title

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1162487
    Anonymous Customer
    Participant

    On 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

    #1162489
    Anonymous Customer
    Participant

    Ok 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.

    #1162911
    Josh
    Participant

    Hey 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!

    #1162927
    Anonymous Customer
    Participant

    Thank 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’ ); ?>

    #1163392
    Josh
    Participant

    Hey 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!

    #1172764
    Support Droid
    Keymaster

    Hey 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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘List view Pulling in Random VENUE Name at end of Page Title’ is closed to new replies.