<div id="voucher" class="coupon"> <div id="discount">5% OFF ALL TYRES</div> <div id="code">DC5ALL</div> <div id="findButton"> <a href="xxxxxxxxxx"> <img width="150" border="0" height="30" alt="Find my tyres" src="<?php bloginfo('stylesheet_directory');?>/images/find.png"> </a> </div> </div> Code (markup): I require the above code to be modified to fit inside of a widget and displayed on all pages except the homepage. The width is too big so some thinking of how and what can be displayed needs to be considered. The payout is via paypal and a max pay out of $5
hello, Try using widget logic plugin for wordpress. if you do not want to use plugin. then use conditional tags <?php if (!is_home()) { ?> <div id="voucher" class="coupon"> <div id="discount">5% OFF ALL TYRES</div> <div id="code">DC5ALL</div> <div id="findButton"> <a href="xxxxxxxxxx"> <img width="150" border="0" height="30" alt="Find my tyres" src="<?php bloginfo('stylesheet_directory');?>/images/find.png"> </a> </div> </div> <?php } ?> PHP: Thanks