ampforwp-custom-theme icon indicating copy to clipboard operation
ampforwp-custom-theme copied to clipboard

Default image for posts does not show

Open IvanPr opened this issue 7 years ago • 0 comments

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'];

IvanPr avatar Jun 27 '17 10:06 IvanPr