GetSimple Support Forum

Full Version: Php include help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i am trying to add this to my template.php but it is not showing. Please help

Quote:<?php
if ($current_page_filename == 'index.xml') {
include("shout/shoutbox.php");
}
?>
Try this:
Code:
<?php
  if (return_page_slug()=='index') {
    include("shout/shoutbox.php");
  }
?>
GetSimple's template tags: http://get-simple.info/docs/theme-codex
Thanks alot