How to get WordPress featured image source (src)

Snippets WordPress
Please Rate this ..

With the WordPress function: wp_get_attachment_image_src , you can get the src of the featured image.

Instructions
Add this code to your page/post template file where you want to use the featured image source.

1
Leave a Reply

avatar
0 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
0 Comment authors
Recent comment authors
  Subscribe  
newest oldest most voted
Notify of