Last active
April 21, 2017 08:43
-
-
Save TruongTuyen/3398825c31c08ec84768368372c67b3b 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
add_action( 'wptq_before_content', 'wptq_page_title' ); | |
function wptq_page_title(){ | |
if ( is_home() && ! is_front_page() ){ | |
?> | |
<header class="page-header"> | |
<h1 class="page-title"><?php single_post_title(); ?></h1> | |
</header> | |
<?php | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment