Created
July 30, 2014 14:53
-
-
Save jpcontrerasv/0b370ffdd3de0e7e223c to your computer and use it in GitHub Desktop.
Sacar la URL del Thumbnail
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dentro del loop: | |
<?php $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), '' ); $url = $thumb['0']; ?> | |
la URL: | |
<?=$url?> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment