• Resolved hristkop

    (@hristkop)


    Hello,

    I need to add header into the events template page, but I can’t seem to locate the template file. I found the default-template.php file but if I make changes to that file, then the changes are applied to the single event page too.

    So, I need to make changes that will be visible only to this page: ‘/events/’ and event categories pages – ‘/events/category/name-of-category/’.

    Thanks a lot!

Viewing 1 replies (of 1 total)
  • Thread Starter hristkop

    (@hristkop)

    $post_type = TribeEvents::POSTTYPE;
    if(!( is_single() && get_post_type()==$post_type )){ }

    This solved my issue.

Viewing 1 replies (of 1 total)
  • The topic ‘Edit the default events template’ is closed to new replies.