Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adding text below home page category images

Adding text below home page category images

Views: 1,842

Results 1 to 2 of 2
18 Aug 2010, 4:46 PM
#1
davidmorrisuk avatar

davidmorrisuk

New Zenner

Join Date:
Mar 2010
Posts:
8
Plugin Contributions:
0

Adding text below home page category images

Hi all,

I am hoping that someone can point me in the right direction for my site

http://www.heatpumps4pools.com

I would like to add some text below the category images on the home page to assist with SEO.

I am using a template called "trublu" and was advised to edit the file

includes/templates/trublu/templates/tpl_index_categories.php

I have therefore added a line to this file to include the standard Zen page_2 file using the line

include 'includes/languages/english/html_includes/define_page_2.php

This has allowed me to display the text on the home page.

I can also easily edit the text using Admin>Tools>Define Pages Editor

The problem is that the additional text doesnt just appear on the home page but also on category pages

eg http://www.heatpumps4pools.com/Duratech

How can I just make the additional text in the page_2 file just appear on the home page?

any suggestions appreciated.

Many thanks !

25 Sep 2011, 11:21 PM
#2
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Adding text below home page category images

Never mind, I've figured this out. Simply edit:

/includes/templates/CUSTOM/templates/tpl_index_default.php

Directly below the last closing </div> tag in the file, just insert the following:

<!-- BEGIN: SEO FOOTER TEXT--><div id="SEOtextFooter">

write anything you like in here and if you want to add some URL links then just, <a href="http://www.YOURSITE.co.uk/" onclick="window.open('http://www.YOURSUTE.co.uk'); return false;">anchor text</a> and then just keep writing some content and adding text to the bottom of your home page like this until you want to place another link with anchor text, <a href="http://www.YOURSUTE.co.uk/index.php?main_page=defined_page_in_here_perhaps_why_not" onclick="window.open('http://www.YOURSITE.co.uk/index.php?main_page=defined_page_in_here_perhaps_why_not'); return false;">another anchor text</a> then just keep writing and increasing your keyword density until you feel that you've added enough Google Food for your purpose. That's it, job done!</a>

</div>