Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] Changing Title for Pages/Posts to be Different than Index


  #1  
Old Sep 1, 2013, 12:59 PM
plowboy
 
7 posts · Aug 2013
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?

Last edited by plowboy; Sep 1, 2013 at 02:28 PM.
  #2  
Old Sep 1, 2013, 03:10 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
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.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Sep 2, 2013, 12:19 AM
plowboy
 
7 posts · Aug 2013
Quote:
Originally Posted by lmilesw
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!


Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing line spacing for UL and OL in posts, pages, et al ... How? Alexi Center area post/pages 5 Nov 8, 2012 12:17 PM
Problems changing colors on links in pages/posts sleenie Center area post/pages 1 Sep 2, 2011 07:53 PM
[SOLVED] Changing URLs using Atahualpa and Wordpress - only the index works verymarie Atahualpa 3 Wordpress theme 3 Apr 7, 2011 11:52 AM
Changing layout for pages but not posts Tim F Center area post/pages 3 Jun 10, 2010 05:20 PM


All times are GMT -6. The time now is 05:14 PM.


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