webyoda
-
Posts
2 -
Joined
-
Last visited
Posts posted by webyoda
-
-
I have the following code:
<?php } else if ( is_single() ) {
if ( get_field("sf_page_image") ) {
$featured_image_ID = get_field("sf_page_image")["ID"];
} else {
$featured_image_ID = 272;
}
There is a placeholder image displaying now if there is no featured image.
I want to remove the placeholder image and show only the title if no featured image is present.
Show title only if no featured image is present
in PHP Coding Help
Posted
Here's a sample of what I'm referring to.