Title: Shortcode [post_meta] if type image
Last modified: August 9, 2017

---

# Shortcode [post_meta] if type image

 *  [icopycat](https://wordpress.org/support/users/icopycat/)
 * (@icopycat)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/shortcode-post_meta-if-type-image/)
 * [post_meta key=”some_image” multiple=”0″]
 * returns the image ID. How to extract the url in php is clear, but how to show
   HTML tag  for this with shortcodes?

The topic ‘Shortcode [post_meta] if type image’ is closed to new replies.

 * ![](https://ps.w.org/w4-post-list/assets/icon-128x128.png?rev=3034626)
 * [W4 Post List](https://wordpress.org/plugins/w4-post-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w4-post-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w4-post-list/)
 * [Active Topics](https://wordpress.org/support/plugin/w4-post-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w4-post-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w4-post-list/reviews/)

 * 0 replies
 * 1 participant
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/shortcode-post_meta-if-type-image/)
 * Status: not resolved