wp_back/wp-content/themes/simple-theme/blog-posts/blog-banner.php
2024-05-20 15:37:46 +03:00

17 lines
639 B
PHP
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$banner_heading = isset($args['banner_heading']) ? $args['banner_heading'] : 'Зарегистрируйтесь и получите';
$paragraph_text = isset($args['paragraph_text']) ? $args['paragraph_text'] : 'доступ к бесплатным сервисам и 16 страховым компаниям';
?>
<div class="gift-for-registration">
<div class="gift-for-registration__content">
<h2><?php echo $banner_heading ?></h2>
<?php if ($paragraph_text) {
echo '<p>' . $paragraph_text . '</p>';
}
?>
</div>
<a class="btn" href="#">Зарегистрироваться</a>
</div>