summaryrefslogtreecommitdiff
path: root/angebote
diff options
context:
space:
mode:
authorMax2019-03-07 16:30:30 +0100
committerMax2019-03-07 16:30:30 +0100
commit9c285d2be4ecc6ec20d0b61cfd76388a40e5a582 (patch)
tree96c1b962b2a59faf0090c72cce4bd7687bad131b /angebote
parentaf937d3250f423005eace057e3125f177a511fc1 (diff)
downloadfuselkoenig_de-9c285d2be4ecc6ec20d0b61cfd76388a40e5a582.tar.gz
Adds button for more details on special offer listing page.
Diffstat (limited to 'angebote')
-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>