Skip to content

Commit

Permalink
added subline to partnerbanner
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjorn Zschernack committed Apr 29, 2024
1 parent acbecff commit 40acfb2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion template-parts/shortcodes/partnerbanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@
<?php if(isset($args['teaser'])) : ?>
<p class="banner-paragraph"><?php echo $args['teaser']; ?></p>
<?php endif; ?>

<?php $urltext = "Mehr über uns";
if(isset($args['urltext'])) :
$urltext = $args['urltext'];
endif; ?>
<?php if(isset($args['url'])) : ?>
<a class="banner-button" href="<?php echo $args['url']; ?>">Mehr über uns</a>
<a class="banner-button" href="<?php echo $args['url']; ?>"><?= $urltext ?></a>
<?php endif; ?>

</div>
Expand Down

0 comments on commit 40acfb2

Please sign in to comment.