wordpress - wp_title showing page title but not site title -
i couldn't find reply question anywhere , have hard time believing i'm 1 has had problem.
my title function within title tag of header.php, <?php wp_title('|', true, 'right'); ?>
, returning page title not site title.
example: about |
why not returning site name??
i've never tried combining entire title within 1 function. instead utilize multiple calls:
<?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' |'; } ?> <?php bloginfo('name'); ?>
wordpress wordpress-theming wordpress-4.0
No comments:
Post a Comment