DIV Background Not Working
-
Hello,
I am using your plugin for featured images but now problem is that in my theme i have to fill DIV background with featured image, so if image is uploaded to wordpress it works fine. But if using your plugin no image is displayed or if displayed then wrong one is displayed.
The Following Code Doesn’t show anything at all:
$src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full', false); echo $src[0];
The Following Code which is suggested by you, shows every time wrong picture or no picture at all:
$image_src = nelioefi_get_thumbnail_src( get_the_ID($post->ID), 'full', false );
Please help me how i can display correct background image, thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘DIV Background Not Working’ is closed to new replies.