Last active
August 29, 2015 14:02
-
-
Save davechu/cc88feddaea96b3efc60 to your computer and use it in GitHub Desktop.
These show the functions.php code before and after changes.
This file contains hidden or 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
/** original code (don't copy this part) **/ | |
if ( is_post_type_archive( 'staff' ) || is_singular( 'staff' ) || is_tax('staff-position') ) | |
$post_meta = '[post_terms taxonomy="staff-position" before="Position: "]<br/>[post_tags before="Tagged With: "]'; | |
/** this is the after (edited) code. be careful, watch the brackets! **/ | |
if ( is_post_type_archive( 'staff' ) || is_singular( 'staff' ) || is_tax('staff-position') ) { | |
$post_meta = '[post_terms taxonomy="staff-position" before="Position: "]<br/>[post_tags before="Tagged With: "]'; | |
add_filter( 'genesis_link_post_title', '__return_false' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment