Created
March 8, 2013 19:33
-
-
Save ckpicker/5119160 to your computer and use it in GitHub Desktop.
Conditionally change the page title
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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