Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 119388

owsleye.wlu.edu on "Select the MediaShort URL using wp_get_attachment_image_src"

$
0
0

Hello,

I would like to use the MediaShort URL in a custom page type. I am currently using the wp_get_attachment_image_src function to get an image and then writing its URL to the screen using <?php echo $image[0]; ?>. How might I grab the newly shortened URL?

Thanks,
Eric Owsley

http://wordpress.org/extend/plugins/mediashort/


Viewing all articles
Browse latest Browse all 119388

Trending Articles