GetSimple Support Forum

Full Version: Display text only on index pagee
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I need some help...

How can I display text/content only on index page?
I need this for link exchange.

Thank you.
You can change your template file to run certain code only on the index by using:
<?php if (return_page_slug()=='index') { ?>
     Whatever you want to run/display/do goes here.
<?php } ?>