Thread Starter
woopi
(@woopi)
<?php if ( is_page(‘about’)) {
$bannerimg = ‘about.jpg’;
} else {
$bannerimg = ‘home.jpg’;}
?>
<img src=”<?php echo $bannerimg; ?>” align=”right” />
that code worked perfectly!!!! thanks!
Thread Starter
woopi
(@woopi)
ok, but Im a real newby and how do I do that so the $bannerimg will be the src of the image?