Conditional for all tribe events pages?

Home Forums Ticket Products Event Tickets Plus Conditional for all tribe events pages?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #62629
    Joshua
    Participant

    I am trying to figure out the correct conditional statement to use for all Tribe Event pages so I can disable the WP header on all Tribe pages.

    Trying to use:

    if (get_post_type() == ‘tribe_events’) {
    //do nothing
    }else{
    echo page_title();
    }

    Nothing seems to be working… any ideas?

    #62632
    Joshua
    Participant

    Looks like I spoke too soon but at least there is now a solution for anyone else looking. I came to this and sharing it with everyone now.

    http://pastebin.com/c4yujaZC

    #62772
    Kelly
    Participant

    Thanks for sharing your solution, minemindmedia!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Conditional for all tribe events pages?’ is closed to new replies.