How get thumbnails url.
-
Hi,
i need to do tricky thing, to get thumbnails url
Like this “> it’s work with
<?php
$image_id = get_post_thumbnail_id( );
$image_url = wp_get_attachment_image_src($image_id, ‘large’);
$image_url3 = $image_url[0];
?>
but it’s work only for first thumbnails.And i try to get url from seconds thumbnails what your asowme plugin give me, but i fail in this misson.
Can you help me?, what i need to corect in code, to get the url’s?
Thanks for help, and sorry for not very good specking in English
.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How get thumbnails url.’ is closed to new replies.