summaryrefslogtreecommitdiff
path: root/angebote/angebote.php
blob: 5409b553dfe7275040996037c3a989e1747d1203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/*
 * Template Name: Angebote
 */

if ( ! defined( 'ABSPATH' ) ) {
        exit; // Exit if accessed directly.
}

require_once __DIR__ . '/inc/functions.php';

get_header();

$container   = get_theme_mod( 'understrap_container_type' );
?>
<div class="wrapper" id="page-wrapper">
	
	<div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">

		<div class="row">

			<!-- Do the left sidebar check -->
			<?php get_template_part( 'global-templates/left-sidebar-check' ); ?>

			<main class="site-main offer-page" id="main">

<?php
        echo file_get_contents( create_offer_link() );
?>
			</main><!-- #main -->

			<!-- Do the right sidebar check -->
			<?php get_template_part( 'global-templates/right-sidebar-check' ); ?>

		</div><!-- .row -->

	</div><!-- Container end -->

</div><!-- Wrapper end -->

<?php get_footer(); ?>