Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display text only on index pagee
#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


Messages In This Thread
Display text only on index pagee - by Warlock - 2010-08-28, 07:59:51
Display text only on index pagee - by Zegnåt - 2010-08-29, 01:51:00



Users browsing this thread: 1 Guest(s)