2011-12-19, 03:17:28
Carlos Wrote:Code:<?php
if (return_page_slug()=='index') {
// your code here ...
}
?>
Ok. Thanks Carlos.
I put the proposed code for you but could not, within the content of the condition is not rendering.
my code looks like this:
Code:
<?php
if (return_page_slug()=='index') {
<div class="coda-slider preload" id="coda-slider-1">
<?php include("index.php");?>
<?php include("index.php?id=page2");?>
<?php include("index.php?id=page3");?>
}
else {
get_page_content();
}
?>
Any other tips to make it work?