IS Returns

IS Returns were created to provide guidence on the content being populated. A developer can use condition statements to then determine the layout you would like to display.

Here is an example on how to use an IS Return:

<?php if($Is_Index){?>
<!--HTML Goes Here.-->
<?php }else{?>
<!--HTML Goes Here.-->
<?php }?>

Below are the current IS Returns available:

Type Returns
$Is_Index Returns Boolean - true or false
$Is_Page Returns Boolean - true or false
$Is_Blog Returns Boolean - true or false
$Is_BlogEntry Returns Boolean - true or false
$Is_Contact Returns Boolean - true or false

 

Continue to Templates.