Created
October 31, 2016 11:51
-
-
Save Dinamiko/31eb5b96afe044106349d5cb74c2eb53 to your computer and use it in GitHub Desktop.
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 | |
function changing_dkpdf_header_title( $title ) { | |
if ( have_posts() ) : while ( have_posts() ) : the_post(); | |
$title .= ' by ' . get_the_author_meta( 'display_name' ); | |
endwhile; else: | |
endif; | |
return $title; | |
} | |
add_filter( 'dkpdf_header_title', 'changing_dkpdf_header_title' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment