first
This commit is contained in:
16
wp-content/themes/simple-theme/blog-posts/blog-banner.php
Normal file
16
wp-content/themes/simple-theme/blog-posts/blog-banner.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?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>
|
Reference in New Issue
Block a user