summaryrefslogtreecommitdiff
path: root/angebote/angebote.php
diff options
context:
space:
mode:
Diffstat (limited to 'angebote/angebote.php')
-rw-r--r--angebote/angebote.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/angebote/angebote.php b/angebote/angebote.php
index b6129fe..5409b55 100644
--- a/angebote/angebote.php
+++ b/angebote/angebote.php
@@ -7,6 +7,8 @@ if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
+require_once __DIR__ . '/inc/functions.php';
+
get_header();
$container = get_theme_mod( 'understrap_container_type' );
@@ -23,7 +25,7 @@ $container = get_theme_mod( 'understrap_container_type' );
<main class="site-main offer-page" id="main">
<?php
- echo file_get_contents("https://angebote.fuselkoenig.de/wp/whisky?page=00");
+ echo file_get_contents( create_offer_link() );
?>
</main><!-- #main -->