Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am having anchor tag which contains image i put it inside the body tag in my joomla index.php page. i want to make is visible only for my main page. not for all pages. i have tried this code but useless.
C#
<?php
if ($option == 'com_frontpage' || $option == '') {
      <a href="" style="visiblity: visible;"><img src=""></a>
}
?>

kindly help me out.

thanks in advance
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900