jacohawk
Member
Posted 4 months ago #
Well ... to see how I say: I need a miniature linkee default post, this is my code:
<h2 class="project_title"><a id="single_image" href="<?php the_post_thumbnail( $size, $attr ); ?>"><?php the_title(); ?></a></h2>
But not going, why not??
PD (Sorry for my bad english)
the_post_thumbnail() does not output a url, but a whole image tag.
can you describe in more details what you are trying to achieve?
jacohawk
Member
Posted 4 months ago #
I need that when you click on a thumbnail (in my portfolio) will enlarge the image, that I have it done, but what I need is to get the URL for each post thumbnail picture.
How I can do to make me return the url of each "featured image" of my post? I thought that with the_post_thumbnail () returned the url ...