Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 06:28:04 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155556 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Website Name and Page Title only showing together.  (Read 659 times)
Revive

Offline Offline

Posts: 28


« on: January 30, 2008, 01:25:37 AM »

If I remove <h1><?php page_title(); ?></h1> OR <h2><?php page_description(); ?></h2>, I can still see the website name and the pages title... but if I remove both, then both the website name and page title are removed. My goal is to remove just the page title and leave the website name, since with the css it allows me to 'flowt' it over our header without having it as part of the image...

I have added our site name in the Website Header box (in the ADMIN section) and placed <?php echo WEBSITE_HEADER; ?> in place of the page title for H1, but now, the page description, or H2, doesn't show... weird...

any ideas.Huh?

Thanks gang!
« Last Edit: January 30, 2008, 01:30:02 AM by Revive » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: January 30, 2008, 07:47:17 AM »

Hello,

page_title includes both. Page name and Website name. You can change this to

Code:
<?php page_title('','[WEBSITE_TITLE]'); ?>

This shows only the website Title.

Where did you remove the page_title and the page_description? I hope in index.php of your template. If you have it twice in your template, please never remove this from the head section of the template, please remove it only from the body section. Only removing it from the body section affects the frontend.

Matthias
Logged
Revive

Offline Offline

Posts: 28


« Reply #2 on: January 30, 2008, 09:47:50 PM »

Great fix,.. worked perfectly! To answer your question, I only removed the page title and description from the body.. not the head...

Thanks again!

Here is the outcome.. www.revivecoffeehou se.com
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!