Posted By

kristarella on 01/25/09


Tagged

image wordpress attachment thesis thesiswp


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

girliegeek
tmbrenneke
naeemnur


Add large image to attachment page in Thesis


 / Published in: PHP
 

You will probably have to hide the medium sized image.

  1. function custom_attachment() {
  2. if (is_attachment()) {
  3. echo wp_get_attachment_image( $post->ID, 'full' );
  4. }
  5. }
  6. add_action('thesis_hook_before_post', 'custom_attachment');

Report this snippet  

You need to login to post a comment.