Skip to content

Instantly share code, notes, and snippets.

@ckpicker
Created March 8, 2013 19:33
Show Gist options
  • Save ckpicker/5119160 to your computer and use it in GitHub Desktop.
Save ckpicker/5119160 to your computer and use it in GitHub Desktop.
Conditionally change the page title
<?php if(tribe_is_community_edit_event_page()) { ?>
<h1 class="entry-title">NEW TITLE GOES HERE</h1>
<?php } else { ?>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment