dvir Posted June 9, 2016 Share Posted June 9, 2016 (edited) hi , i'm trying to add H1,H2,H3 tags on the homepage. i've already added H1 to header.tpl to get H1 in my homepage : www.cdsoft.co.il/index.php so i have 2 questions : 1. now i need to add h2 + h3 tags - but only to the homepage - how to do it ? 2. now i'm getting on each category and product page - 2 H1 tags...what to do ? Edited June 9, 2016 by dvir (see edit history) Link to comment Share on other sites More sharing options...
Knowband Plugins Posted June 15, 2016 Share Posted June 15, 2016 To add your code only to homepage, you need to add homepage validation as shown below: {if $page_name == 'index' } // it is homepage {else} //it is not homepage {/if} Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now