function glm_quicksite_widget_init()
{
+ register_sidebar(array(
+ 'name' => 'Tour Sidebar Ad',
+ 'id' => 'shopsidead',
+ 'description' => __('Tour Ad Area')
+ ));
register_sidebar(array(
'name' => __('Slideshow'),
'id' => 'slideshow',
'description' => __('Meta Slider/Slideshow Area')
));
+
}
}
echo do_shortcode('[gravityform id="3" title="true" description="true"]');
}
-function woo_itinerary_content() {
- global $product;
- echo the_field('itinerary');
-}
+//function woo_itinerary_content() {
+// global $product;
+// echo the_field('itinerary');
+//}
function woo_photos_content() {
global $product;
-<?php global $product, $post, $woocommerce;
- $id = $post->ID;
- $product_meta = new WC_Product($id);
- $sku = $product_meta->get_sku();
- $title = $product_meta->get_title();
- $title = str_replace(' ', '-', $title);
-?>
-
<div id="sidebar-category">
<?php get_template_part('parts/shop-sidebar');?>
</div>
<?php wp_list_categories( 'taxonomy=product_tag&pad_counts=1&title_li=' ); ?>
</ul>
</div>
-<!--
-<div id="categories_sidebar_container">
- <h5><?php _e( 'Regions of France', 'woothemes' ) ?></h5>
+<!--<div id="categories_sidebar_container">
+ <h5><?php // _e( 'Regions of France', 'woothemes' ) ?></h5>
<ul id="regions_sidebar">
<?php
- foreach($all_categories as $category){
- echo '<li><a href="'.get_term_link($category->term_id) . '">'.$category->name . '</li>';
- }
+// foreach($all_categories as $category){
+// echo '<li><a href="'.get_term_link($category->term_id) . '">'.$category->name . '</li>';
+// }
?>
- </ul>
+ </ul>-->
+<div id="ads_sidebar_container">
+ <?php if ( is_active_sidebar( 'shopsidead' ) ) : ?>
+ <?php dynamic_sidebar( 'shopsidead' ); ?>
+ <?php endif; ?>
</div>
--->