diff options
| author | Max | 2019-03-07 16:30:30 +0100 |
|---|---|---|
| committer | Max | 2019-03-07 16:30:30 +0100 |
| commit | 9c285d2be4ecc6ec20d0b61cfd76388a40e5a582 (patch) | |
| tree | 96c1b962b2a59faf0090c72cce4bd7687bad131b /angebote | |
| parent | af937d3250f423005eace057e3125f177a511fc1 (diff) | |
| download | fuselkoenig_de-9c285d2be4ecc6ec20d0b61cfd76388a40e5a582.tar.gz | |
Adds button for more details on special offer listing page.
Diffstat (limited to 'angebote')
| -rw-r--r-- | angebote/inc/template.php | 7 |
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> |
