Title for home.php
How can I change the <title> for home.php only?
Sometimes X-cart makes me feel stupid. :oops: |
Re: Title for home.php
Try this (not tested):
Code:
{strip}<title> shouldn't this thread be in template editing? thread moved. |
Re: Title for home.php
PS -- if you're giving page titles your energy -- I STRONGLY recommend the "suite" of meta-tag mods from BCSE
Product Meta Tags Plus! Static Page Meta Tag Control Category Meta Title Control These three mods give you total control over every page's title and keyword and descr. Don't go live without this in place! One major weakness of stock x-cart is the SEO-hostile page titles... Google sees the stock page titles as spam... duplicate content, etc... you really need unique page titles, PER PRODUCT -- these mods will get you there. Good luck. |
Re: Title for home.php
I recently installed Product Meta Tags Plus, but it doesn't help with home.php
|
Re: Title for home.php
Quote:
{if $main eq "catalog" && $current_category.category eq ""} HOME PAGE TITLE {else} (with appropriate closing {/if} if needed) before anything else. |
Re: Title for home.php
That works, thanks
|
Re: Title for home.php
Quote:
Where do you add this code? In home.PHP and if so where. Sorry new to PHP. Thanks |
Re: Title for home.php
Nope, add it just under <title> in /skin1/customer/home.tpl
|
Re: Title for home.php
Quote:
Thanks for the info. |
Re: Title for home.php
Cheers for this. Very helpful.
|
All times are GMT -8. The time now is 08:35 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.