Matthew

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Page Heading #1239831
    Matthew
    Participant

    Thanks. I found that line before but forgot to mention it.

    The problem I face with inserting that is on all of the other pages (non-calendar) it’s showing “Upcoming Events” along with the correct page heading.

    What I’m trying to figure out is what if/else statement could be used. Such as

    if(calendar-page) { 
        echo <h1><?php tribe_events_title() ?></h1>;
    }
    else {
        echo <h1><?php the_title(); ?></h1>
    }

    I just can’t figure out what to put in the if(here) statement.

Viewing 1 post (of 1 total)