Field file show no image
-
I create a field file for upload images, i want show this image with size “book_cover”(custom size defined in functions).
I insert this code in my single.php:
$cover = wp_get_attachment_image(get_post_meta( get_the_ID(), "_omnicmb_book_cover", 1), 'book_cover');
But show no data =/
Var dump in $cover variable show empty.
Help.
Sorry for my english.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Field file show no image’ is closed to new replies.