| 1 | | There is no way to get only the image source from the image post format. |
| 2 | | |
| 3 | | The post $meta[image] already wrapped in <img/> and <a/>. |
| 4 | | (Sorry to post this after fixed status.) |
| 5 | | |
| 6 | | When the URL input isn't filled, the post format image always wrapped in <a/> link to the image source, unless you hide the html textarea. |
| 7 | | |
| 8 | | {{{ |
| 9 | | /* Hide image format html textarea, no link on image with the_post_format_image() */ |
| 10 | | .wp-post-format-ui .wp-format-image .use-url-or-html, |
| 11 | | .wp-post-format-ui .wp-format-image label, |
| 12 | | .wp-post-format-ui .wp-format-image input |
| 13 | | {display:none;} |
| 14 | | }}} |
| | 1 | When you select the image for the image post format: |
| | 2 | the Media popup ATTACHMENT DISPLAY SETTINGS is hidden, but the popup still remembers the last used url settings (none, media file, attachment ...) |