2010-01-15, 14:05:11
Tried the follwing:
And "Test" appears on every page.
Code:
<?php
$theuri = $_SERVER['REQUEST_URI'];
if ( ($theuri =="/") or ($theuri =="/index.php") )
{
?>
<div id="gallery">
<div id="top-photo">
<p><a href="#"><img src="<?php get_theme_url(); ?>/images/img08.jpg" alt="" width="830" height="300" /></a></p>
</div>
</div>
<?php } else; { ?>
<h1>Test</h1>
<?php } ?>
And "Test" appears on every page.