summaryrefslogtreecommitdiff
path: root/angebote/inc/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'angebote/inc/template.php')
-rw-r--r--angebote/inc/template.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/angebote/inc/template.php b/angebote/inc/template.php
index 5c518c0..fd92906 100644
--- a/angebote/inc/template.php
+++ b/angebote/inc/template.php
@@ -95,6 +95,13 @@ launch
</div>
<div class="card-footer">
<a href="<?php echo $offer['url']; ?>" class="btn btn-primary">Zum Shop</a>
+<?php
+ if ( $offer['include_post_link'] ) {
+?>
+ <a href="<?php echo get_post_permalink( $post ); ?>#title" class="btn btn-light">Detailansicht</a>
+<?php
+ }
+?>
<!--p class="float-right">Preis vom <?php echo $offer['created_at']; ?></p-->
</div>
</div>