HEX
Server: Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 mod_fcgid/2.3.9 PHP/5.4.16
System: Linux dvm.vladweb.ru 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: region-gk.ru (1016)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: /home/region-gk.ru/data/www/region-gk.ru/wp-content/themes/region/partials/dps-promo.php
<div class="main-news text-white mt-5 mt-xl-6" style="background-image: url('<?php echo get_the_post_thumbnail_url( get_the_ID(), 'full' ); ?>');">
<div class="container py-5 py-xl-7"><div class="row">
  <div class="col-md-5">
  <?php if ( has_post_thumbnail() ) : ?>
  <a class="main-news-img img-fluid mb-4 mb-md-5 rounded-lg d-block" style="background-image: url('<?php echo get_the_post_thumbnail_url( get_the_ID(), 'full' ); ?>');" href="<?php echo get_the_permalink(); ?>"></a>
  <?php endif; ?>
  </div>
  <div class="col-md-7">
	<?php the_title( '<h4 class="mb-4 mb-xl-5"><a class="text-white" href="' . get_permalink() . '" title="' . the_title_attribute( 'echo=0' ) . '">', '</a></h4>' ); ?>
	<a class="btn btn-primary" href="<?php echo get_the_permalink(); ?>">Подробнее</a>
  </div>
</div></div>
</div>