• Resolved JeremyEnglert

    (@jeremyenglert)


    <?php if (is_category() || is_tag()) { ?>
    
        <h1 class="header-title"><?php the_archive_title();?></h1>
    
    <?php } elseif ( tribe_is_event() && is_single() ) { ?>
    
        <h1 class="header-title">Events</h1>			
    
    <?php } else  { ?>
    
        <h1 class="header-title"><?php the_title(); ?></h1>
    
    <?php } ?>

    I followed the “Themer’s Guide” and setup the conditional wrapper using the documented code. However, it does not appear to be working. Instead of displaying the (static) title of “Events”, it doesn’t display anything.

    Has the conditional wrapper changed?

    https://wordpress.org/plugins/the-events-calendar/

Viewing 1 replies (of 1 total)
  • Barry

    (@barryhughes-1)

    Hi Jeremy,

    I’d have to point out first of all that we cannot provide a great deal of support for customizations (any time you want to modify/change the plugin’s behaviour) here in the free support forums.

    With that caveat out of the way, where is this code actually running? Is it in the theme header, a sidebar widget, something else?

Viewing 1 replies (of 1 total)
  • The topic ‘Event Single Conditional Wrapper – Not Working?’ is closed to new replies.