Jump to content
Sign in to follow this  
larryjam

Title Tag

Recommended Posts

I have this set in my index.php file

 

<title><?php echo (strlen($title_tag) > 1) ? $title_tag . ' - ' . TITLE : $title_home_default . ' - ' . TITLE; ?></title>

 

Is it possible to reverse the order in which this displays the title on the pages. How would I do this?

Share this post


Link to post
Share on other sites
I have this set in my index.php file

 

<title><?php echo (strlen($title_tag) > 1) ? $title_tag . ' - ' . TITLE : $title_home_default . ' - ' . TITLE; ?></title>

 

Is it possible to reverse the order in which this displays the title on the pages. How would I do this?

 

I don't really understand your question...

 

If you mean rearrange the title you have quoted, thats easy.

 

Like..

<title><?php echo (strlen($title_tag) > 1) ? TITLE . ' - ' . $title_tag  : TITLE . ' - ' . $title_home_default; ?></title>

Share this post


Link to post
Share on other sites
I don't really understand your question...

 

If you mean rearrange the title you have quoted, thats easy.

 

Like..

<title><?php echo (strlen($title_tag) > 1) ? TITLE . ' - ' . $title_tag  : TITLE . ' - ' . $title_home_default; ?></title>

 

Thank You

 

Just what I was looking for. Thanks for taking the time to help.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×