.tpl file to add key words to bottom of pages
I would like a little help writing a small code that I can place at the bottom of my bottom.tpl file. My goal is to insert the category/product name into a small paragraph so I can have my keyword near the bottom of my page. Apparently this will help a little with the SEO of the page. The logic I want is this...
If it's the home page (which I think is this code {if $main eq "catalog" and $current_category.category eq ""} ) then <p>blah blah blah</p> {else} {if the page is a category page} <p> blah blah {insert category name} blah blah</p> {else} {if the page is a product page} <p> blah blah {insert product name} blah blah</p>
can anyone give me a hand with this?
I don't know where to look up the correct "terms" for different pages or I would try and do it myself. For example I don't know how to say if a category page and not the home page or product page. Things like that.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX
www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
|