--- /dev/null
+<?php
+/*
+Template Name: Banquets Template
+*/
+get_template_part('index');
+?>
\ No newline at end of file
$includePages = array();
$frontPageId = get_option('page_on_front');
add_action('widgets_init', 'glm_quicksite_widget_init');
+add_action('widgets_init', 'glm_video_widget_init');
if (!function_exists('glm_quicksite_widget_init')) {
));
}
}
+if (!function_exists('glm_video_widget_init')) {
+ function glm_video_widget_init(){
+ register_sidebar(array(
+ 'name' => __('Video'),
+ 'id' => 'video-widget',
+ 'description' => __('Video Widget')
+ ));
+ }
+}
/**
* Return the client info option for the given key
color: $green;
}
//6. Main
+.widget.widget_media_video {
+ list-style: none;
+ margin-top: 60px;
+}
//7. Slideshow
//8. Blog
//9. Sidebar
--- /dev/null
+<div class="row">
+ <div class="small-12 columns">
+ <?php
+ if(function_exists('bcn_display') && !is_front_page())
+ {
+ echo "<div class=\"breadcrumbs small-12 columns\">";
+ echo '<span class="st_sharethis" st_title="'. get_the_title().'" st_url="'. get_the_permalink() .'"></span>';
+ bcn_display();
+ echo "</div>";
+ }
+ ?>
+ </div>
+ <div class="small-12 medium-6 columns">
+ <?php if (function_exists('the_field') && get_field('video-adjacent_content')) { ?>
+ <?php echo the_field('video-adjacent_content'); ?>
+ <?php } ?>
+ </div>
+ <div class="small-12 medium-6 columns">
+ <?php if ( is_active_sidebar( 'video-widget' ) ) : ?>
+ <?php dynamic_sidebar( 'video-widget' ); ?>
+ <?php endif; ?>
+ </div>
+ <div class="small-12 columns">
+ <?php get_template_part('parts/main-content'); ?>
+ </div>
+</div>
<main class="page-inside">
<div id="content-wrapper">
-
<div class="row">
- <div class="small-12 columns">
-
- <?php if(function_exists('bcn_display') && !is_front_page())
- {
- echo "<div class=\"breadcrumbs small-12 columns\">";
- echo '<span class="st_sharethis" st_title="'. get_the_title().'" st_url="'. get_the_permalink() .'"></span>';
- bcn_display();
- echo "</div>";
- }?>
- <?php get_template_part('parts/main-content');?>
+ <?php if(get_page_template_slug( $post->ID ) === "banquets-template.php"){ ?>
+ <?php echo get_template_part("sections/banquets-page"); ?>
+ <?php } else { ?>
+ <div class="small-12 columns">
+ <?php
+ if(function_exists('bcn_display') && !is_front_page())
+ {
+ echo "<div class=\"breadcrumbs small-12 columns\">";
+ echo '<span class="st_sharethis" st_title="'. get_the_title().'" st_url="'. get_the_permalink() .'"></span>';
+ bcn_display();
+ echo "</div>";
+ }
+ get_template_part('parts/main-content');
+ ?>
+ <?php } ?>
</div>
</div>
</div>