Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display text only on index pagee
#1
Hello, I need some help...

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

Thank you.
Reply
#2
You can change your template file to run certain code only on the index by using:
Code:
<?php if (return_page_slug()=='index') { ?>
     Whatever you want to run/display/do goes here.
<?php } ?>
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply




Users browsing this thread: 1 Guest(s)