WebsiteBaker Support (2.8.x) > Templates, Menus & Design

Add text in front of <title><?php page_title(); ?></title>

(1/1)

i2Paq:

In my template the following code is used:

--- Code: --- <title><?php page_title(); ?></title>

--- End code ---

I want to add a text in front of the <?php page_title(); ?> so it will show up as: <title>Added-text<?php page_title(); ?></title>
In the browser it will show as: Added-text - Contact.

I have no clue how to do that, as my knowlegde is small the things I tried failed.

Swon:
have you tried:

--- Code: ---<title>added text - <?php page_title(); ?></title>
--- End code ---

i2Paq:

--- Quote from: Swon on February 22, 2010, 12:52:06 AM ---have you tried:

--- Code: ---<title>added text - <?php page_title(); ?></title>
--- End code ---

--- End quote ---

 :oops:

No, it give a strange color in my editor so I think it would not work.
But it worked.

Thanks  :-)

Navigation

[0] Message Index

Go to full version