WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Title page question
  • Print
Pages: [1]   Go Down

Author Topic: Title page question  (Read 4048 times)

Offline ivanisevic82

  • Posts: 94
Title page question
« on: February 08, 2011, 05:08:14 PM »
Hi Boys, I have a simple question for you.
In my template I used the code <?php page_title(); ?> to can simply write the title of every page in the fild for "title" on the setting of page.

But I have seen that for every pages appear not only the text I write in the fied, but befer is writed the name of the site.

For example, if the name of my site is: "RED" and in the fild title of a page I wrote "HOME PAGE" in the title of the source final page there will be:
"RED - HOME PAGE"
but I only want to see what I write in the title field, so "HOME PAGE" and not "RED - HOME PAGE".

Can you help me?

Sorry for my english!!

Bye!
Logged

Argos

  • Guest
Re: Title page question
« Reply #1 on: February 08, 2011, 06:33:32 PM »
Try <?php echo PAGE_TITLE; ?> instead of <?php page_title(); ?>
Logged

Offline ivanisevic82

  • Posts: 94
Re: Title page question
« Reply #2 on: February 08, 2011, 06:43:56 PM »
It works!

Thank you!
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Title page question
« Reply #3 on: February 08, 2011, 08:23:49 PM »
Because I don't see any reason to leave it open.

Question asked
Answer given
Confirmed by User

Done.

Klaus
Logged

Argos

  • Guest
Re: Title page question
« Reply #4 on: February 08, 2011, 09:47:47 PM »
Often users ask related questions in the same topic. I don't see any advantage in closing topics that have questions that are answered...
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Title page question
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2