[SOLVED] Changing Title for Pages/Posts to be Different than Index
I wanted my index header <title></title> to say "the blog name" | "blog tagline"
I have changed this by editing the code > Editor > head.php to.. Code:
<title><?php wp_title( '|', true, 'right' ); ?></title> however, now the individual pages/posts title display as > page/post name | blog name ..How do I get the individual pages/posts to display as > page/post name | blog tagline or if it could say page/post name | blog name | blog tagline or.. page/post name | blog name - blog tagline or.. page/post name - blog tagline ...while keeping the index displaying how I want it I've been looking through > http://codex.wordpress.org/Function_Reference/wp_title But I haven't figured it out yet.. anybody know? |
I never edit the theme files as they won't survive an upgrade to the theme. To do what you want I would use the WordPress SEO plugin by Yoast.
|
Quote:
:) |
All times are GMT -6. The time now is 12:48 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.