2011-12-19, 03:31:23
Excuse me,
my code actually looks like this:
Note that I want to do is to include unique content only for home.
As there is no way to put the includes in the content of dynamic pages, I need them in template.php
my code actually looks like this:
Code:
<div class="coda-slider preload" id="coda-slider-1">
<?php
if (return_page_slug()=='index') {
include("index.php");
include("index.php?id=page2");
include("index.php?id=page3");
}
else {
get_page_content();
}
?>
</div>
Note that I want to do is to include unique content only for home.
As there is no way to put the includes in the content of dynamic pages, I need them in template.php