Created
June 2, 2015 08:37
-
-
Save thecodepoetry/e60e80f52c424dd39e39 to your computer and use it in GitHub Desktop.
Team title link
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
edit section | |
if ( $title ) { | |
$title = '<div class="team-author-name">' . $title . '</div>'; | |
to | |
if ( $title ) { | |
if ( 'post' == $config->get( 'post.open_as' ) ) { | |
$title = '<div class="team-author-name"><a href="'.get_permalink( ).'">'.$title . '</a></div>'; | |
} | |
else { | |
$title = '<div class="team-author-name">'.$title . '</div>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment