FEATURE Handling cta
This commit is contained in:
parent
760077f8d5
commit
1cf2038ceb
|
|
@ -4,6 +4,7 @@ $title = $args['title'];
|
|||
$subtitle = $args['subtitle'];
|
||||
$description = $args['description'];
|
||||
$cover = $args['cover'];
|
||||
$cta = $args['cta'];
|
||||
?>
|
||||
|
||||
<section class="page-header content-section content-section--full-width">
|
||||
|
|
@ -16,6 +17,9 @@ $cover = $args['cover'];
|
|||
<?php if ($description) : ?>
|
||||
<p class="page-header__description"><?php echo $description; ?></p>
|
||||
<?php endif; ?>
|
||||
<?php if ($cta) : ?>
|
||||
<a href="<?php echo $cta['url']; ?>" class="page-header__cta"><?php echo $cta['title']; ?></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="page-header__image">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user