Add image to post by number on page

/ Published in: PHP
Save to your folder(s)

Copy this code and paste it in your HTML
  1. function banner($post_count = true) {
  2. if ($post_count == 1)
  3. echo '<img src="" alt="" />';
  4. }
  5. add_action('thesis_hook_before_post','banner');

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.