Jump to content

How to set up H1 tag for subcategories ?


markev

Recommended Posts

Hi

 

Is there any possibility to change H1 tag in prestashop? I need to add some text before my H1 tag to improve SEO, but I need to add different text in each category.

 

Part of my category.tpl

 

<h1>
        <span>
{strip}
{$category->name|escape:'htmlall':'UTF-8'}
{if isset($categoryNameComplement)}
{$categoryNameComplement|escape:'htmlall':'UTF-8'}
{/if}
<strong class="category-product-count">
{include file="$tpl_dir./category-count.tpl"}
</strong>
{/strip}
           </span>
</h1>
 
 
Thank you very much in advanced.
Edited by markev (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...