/** * If Featured Image is uploaded set it as a background * and change page title color to white **/ if ( has_post_thumbnail() ) { $page_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), '' ); $page_bg_image = 'style="background-image:url(' . esc_url( $page_image_url[0] ) . ');"'; $title_with_bg = 'full-width-image content-over-image-tint page-title-bg'; } else { $title_with_bg = 'wrapper title-with-sep'; } ?>



At Homescute.com All Amazon links are (paid link) “As an Amazon Associate I earn from qualifying purchases.”

Homescute.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for website owners to earn advertising fees by advertising and linking to Amazon (.com, .co.uk, .ca etc) and any other website that may be affiliated with Amazon Service LLC Associates Program.