Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--custom field foto-->
- <div id="custom_foto_single_posts" class="foto">
- <?php $foto = get_post_meta($post->ID, 'foto', true); ?>
- <?php if($foto): ?>
- <img src="<?php echo $foto ?>" alt="imagen principal post" width="520"/>
- <?php endif; ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement