Openhook Conditional Tag Problem in Sidebar
-
I’ve added the following code to my sidebar using the Thesis Openhook plugin, but cannot seem to get the images to pull in. Any suggestions as to why?
note: The pathing is correct.
<?php if ( is_page('about')) { <img src="wp-content/themes/thesis_151/custom/images/aboutImage.png" alt="About Image"/> } elseif ( is_page('home'){ <img src="wp-content/themes/thesis_151/custom/images/homeImage.png" alt="Home Image"/> } elseif ( is_page('services'){ <img src="wp-content/themes/thesis_151/custom/images/servicesImage.png" alt="Services Image"/> } ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Openhook Conditional Tag Problem in Sidebar’ is closed to new replies.