Posted By

kristarella on 03/19/09


Tagged

wordpress thesiswp


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

girliegeek
naeemnur


Add image to post by number on page


 / Published in: PHP
 

  1. function banner($post_count = true) {
  2. if ($post_count == 1)
  3. echo '<img src="http://example.com/image.jpg" alt="" />';
  4. }
  5. add_action('thesis_hook_before_post','banner');

Report this snippet  

You need to login to post a comment.