Changing the <title>


Author Message
lou

Posted: 11/9/2009
Quote message 

Where or how can I change the <title> for different pages across the site?

Right now the title for each page is Mysite

1. How can I change this to read Welcome to Mysite?
2. How can it be customized so each page will read slightly different, so for the contact page might read: Welcome to Mysite - Contact Me
 
Garry

Posted: 11/9/2009
Quote message 

You should create page templates for your theme and assign one page template having specific page title to a page, you can create and apply page templates as following:

Copy all code from page.php, create a new file(.php) name it any of your choice and paste the copied code in it, add following code on top of it:

<?php
/*
Template Name: new template
*/
?>

Upload that file into your theme folder and your new template will be available to you to choose from a drop down list when you add new page or edit existing page.

You can change this template's structure to your needs; you can assign a new name to your sidebar and you’ll be able to add desired widgets to this sidebar from widgets page. Now you can use this page template on pages where you need different structure and different set of widgets

 
Dave Porter

Posted: 11/9/2009
Quote message 

Hi Lou,

Hope I have understood what you want to do, but this is standard out the box Wordpress behaviour !

So the name of your site which is set under 'Settings >> General' and is the Blog title is used as the first part of the <title> attribute, then the next part is the page title.

So for example, a page called About Us would have a title of:
"Dave's Blog: About Us"

And to clarify, this is all done in your WP admin, nothing to do in your artisteer generated theme !

cheers Dave
 
Nancy

Posted: 11/12/2009
Quote message 

a related question: I am using the AllInOneSEOpack plugin in WP and the WP name for each post is entered as /%Postname%/ but since I added in the Artisteer theme the actual phrase "/%Postname%/" is showing up as the header for each post. Is Artisteer renaming the Postname function in WP? If so, to what? I need to tell the SEOpack plugin how to format the post titles and it appears to be "art-PostHeader" that I need to show and not: <title>/%Postname%/</title>
Help?
Thank you - great product BTW! just needs some tweaking to be perfect.
 

Reply


NAME *
EMAIL
SMILIES :-) :( :-D 8-) :*) :-/ :-{} :-X :-O :-@ O:) :-P :-< :-( :-| ;-) 
CODES [Quote] [B] [I] [U] [Code] [IMG] 
BODY *  
VALIDATION *