WordPress Printing
-
Here’s what I want to achieve.. when a user clicks on the button, it’ll print the thumbnail.. Here’s what I have so far:
<?php $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );?> <a href="<?php echo $url; ?>" target=_blank / class="more-link"></a>
What code do I add to make it print the thumbnail?
- The topic ‘WordPress Printing’ is closed to new replies.