ampforwp-custom-theme
ampforwp-custom-theme copied to clipboard
Default image for posts does not show
The Theme displays the post Thumbnail if ( has_post_thumbnail() ) in single.php
Change it to: if ( has_post_thumbnail() OR $redux_builder_amp['amp-structured-data-placeholder-image'] ) { if ( has_post_thumbnail() ) $thumb_id = get_post_thumbnail_id(); else $thumb_id = $redux_builder_amp['amp-structured-data-placeholder-image']['id'];