Quote:
Originally Posted by Si
Ok it definately works. but wouldn't work with a php include unless I done it wrong.
Here is what i tried below:
<?php
wp_reset_query();
if (is_home() ) {
echo '<?php include "/include.html"; ?>';
}
?>
Unless I have to put the full file location in there. will try that now.
|
Code:
<?php if ( is_home() ) : ?>
<?php include (TEMPLATEPATH . '/include.html'); ?>
<?php endif ; ?>