replace page title with image
-
I want to replace my page title with an image. I know I need to use a loop (if statement) this is what I’ve got so far:
<div class="active"> <?php if ( is_front_page() ) { ?> <h1><?php the_title(); ?></h1> <?php } elseif { (is_page('19')) echo "<img src="images/Craftbrews_pagetitle.jpg" />"; else ?><h1><?php the_title(); ?></h1> <?php } ?> </div>
- The topic ‘replace page title with image’ is closed to new replies.