smaller reset larger        English  Portuguese  Spanish  French         

Main Menu



Sub Menu

Article Data
Article Ref
1096-TYSF-3287
Written By
AJ
Date Created
Mon, 19th Aug 2013
Updated By
AJ
Date Modified
Mon, 19th Aug 2013
 
()

   Adding code for homepage only

Question 

 How can I add or remove html code to only hide / show on my homepage? 

Answer 

 It is fairly easy to do so, all you need to do is add the following lines to your template:

Add: 

<!-- INSERT ON INDEXPAGE START -->
this is where the html code goes
<!-- INSERT ON INDEXPAGE END -->

Remove:

<!-- REMOVE ON INDEX START -->
this is where the html code goes
 <!-- REMOVE ON INDEX END -->

Note: if you add any html comments inside those lines, it will not render your code correctly. 

How Useful Was This Article?      (Rating: 100%    Votes: 4)  

Select a Rating