Thumbnails wordpress?
вот решение, кому нужно будет<div class="img_tour1 text-center" style="background-image: url(<?php if ( has_post_thumbnail()) { $full_image_url = wp_get_attachment_image_src(get_post_thumbnail_id(), 'full'); echo ''.$full_image_url[0] . '';} ?>)">
get_the_post_thumbnail();Подробнее enПодробнее ru