/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
function banner($post_count = true) {
if ($post_count == 1)
echo '<img src="http://example.com/image.jpg" alt="" />';
}
add_action('thesis_hook_before_post','banner');
Comments
 Subscribe to comments
                    Subscribe to comments
                
                