Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   [SOLVED] Changing Title for Pages/Posts to be Different than Index (http://forum.bytesforall.com/showthread.php?t=20854)

plowboy Sep 1, 2013 11:59 AM

[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>
..so now my index title displays as I want (blog name | blog tagline)

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?

lmilesw Sep 1, 2013 02:10 PM

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.

plowboy Sep 1, 2013 11:19 PM

Quote:

Originally Posted by lmilesw (Post 103412)
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.

This worked perfectly.. wonderful.. much thanks!

:)


All times are GMT -6. The time now is 12:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.