Пример #1
0
/**
 * Prints Header Feature Section Page/Post/Portfolio
 */
function grve_print_header_feature()
{
    global $post;
    $grve_woo_shop = false;
    if (grve_woocommerce_enabled() && is_shop() && !is_search()) {
        $grve_woo_shop = true;
    }
    if (is_singular() || $grve_woo_shop) {
        if ($grve_woo_shop) {
            $post_id = wc_get_page_id('shop');
        } else {
            $post_id = $post->ID;
        }
        $post_type = get_post_type($post_id);
        if ($post_type == 'page' && is_singular('page') || $post_type == 'portfolio' && is_singular('portfolio') || $post_type == 'post' && is_singular('post') || $grve_woo_shop) {
            $feature_element = get_post_meta($post_id, 'grve_page_feature_element', true);
            if (!empty($feature_element)) {
                switch ($feature_element) {
                    case 'image':
                        $image_item = get_post_meta($post_id, 'grve_page_image_item', true);
                        if (!empty($image_item)) {
                            grve_print_header_feature_image($post_id, $image_item);
                        }
                        break;
                    case 'video':
                        $video_item = get_post_meta($post_id, 'grve_page_video_item', true);
                        if (!empty($video_item)) {
                            grve_print_header_feature_video($post_id, $video_item);
                        }
                        break;
                    case 'slider':
                        $slider_items = get_post_meta($post_id, 'grve_page_slider_items', true);
                        if (!empty($slider_items)) {
                            grve_print_header_feature_slider($post_id, $slider_items);
                        }
                        break;
                    case 'revslider':
                        $revslider_alias = get_post_meta($post_id, 'grve_page_feature_revslider', true);
                        if (!empty($revslider_alias)) {
                            grve_print_header_feature_revslider($post_id, $revslider_alias);
                        }
                        break;
                    case 'title':
                        $title_item = get_post_meta($post_id, 'grve_page_title_item', true);
                        if (!empty($title_item)) {
                            grve_print_header_feature_title($post_id, $title_item);
                        }
                        break;
                    case 'map':
                        $map_items = get_post_meta($post_id, 'grve_page_map_items', true);
                        if (!empty($map_items)) {
                            grve_print_header_feature_map($post_id, $map_items);
                        }
                        break;
                    default:
                        break;
                }
            }
        }
    }
}
Пример #2
0
/**
 * Enqueue scripts and styles for the front end.
 */
function grve_frontend_scripts()
{
    $template_dir_uri = get_template_directory_uri();
    $child_theme_dir_uri = get_stylesheet_directory_uri();
    wp_register_style('grve-style', $child_theme_dir_uri . "/style.css", array(), '2.1.0', 'all');
    wp_enqueue_style('grve-awsome-fonts', $template_dir_uri . '/css/font-awesome.min.css', array(), '4.3.0');
    wp_enqueue_style('grve-basic', $template_dir_uri . '/css/basic.css', array(), '2.1.0');
    wp_enqueue_style('grve-grid', $template_dir_uri . '/css/grid.css', array(), '2.1.0');
    wp_enqueue_style('grve-theme-style', $template_dir_uri . '/css/theme-style.css', array(), '2.1.0');
    wp_enqueue_style('grve-elements', $template_dir_uri . '/css/elements.css', array(), '2.1.0');
    if (grve_woocommerce_enabled()) {
        wp_enqueue_style('grve-woocommerce-layout', $template_dir_uri . '/css/woocommerce-layout.css', array(), '2.1.0', 'all');
        wp_enqueue_style('grve-woocommerce-smallscreen', $template_dir_uri . '/css/woocommerce-smallscreen.css', array('grve-woocommerce-layout'), '2.1.0', 'only screen and (max-width: 959px)');
        wp_enqueue_style('grve-woocommerce-extrasmallscreen', $template_dir_uri . '/css/woocommerce-extrasmallscreen.css', array('grve-woocommerce-layout'), '2.1.0', 'only screen and (max-width: 767px)');
        wp_enqueue_style('grve-woocommerce-general', $template_dir_uri . '/css/woocommerce.css', array(), '2.1.0', 'all');
    }
    if (grve_events_calendar_enabled()) {
        wp_enqueue_style('grve-events-calendar', $template_dir_uri . '/css/events-calendar.css', array(), '2.1.0', 'all');
    }
    if ($child_theme_dir_uri != $template_dir_uri) {
        wp_enqueue_style('grve-style');
    }
    if (is_singular() && comments_open() && get_option('thread_comments')) {
        wp_enqueue_script('comment-reply');
    }
    wp_enqueue_style('grve-responsive', $template_dir_uri . '/css/responsive.css', array(), '2.1.0');
    wp_register_script('grve-googleapi-script', '//maps.googleapis.com/maps/api/js?v=3&sensor=false', NULL, NULL, true);
    wp_register_script('grve-maps-script', $template_dir_uri . '/js/maps.js', array('jquery', 'grve-googleapi-script'), '2.1.0', true);
    $grve_maps_data = array('hue_enabled' => grve_option('gmap_hue_enabled', '0'), 'hue' => grve_option('gmap_hue', '#ffffff'), 'saturation' => grve_option('gmap_saturation', '0'), 'lightness' => grve_option('gmap_hue', '0'), 'gamma' => grve_option('gmap_gamma', '0.1'));
    wp_localize_script('grve-maps-script', 'grve_maps_data', $grve_maps_data);
    wp_enqueue_script('grve-modernizr-script', $template_dir_uri . '/js/modernizr.custom.js', array('jquery'), '2.8.3', false);
    $smooth_scroll = grve_option('smooth_scroll_enabled', '1');
    if ('1' == $smooth_scroll) {
        wp_enqueue_script('grve-smoothscrolling-script', $template_dir_uri . '/js/smoothscrolling.js', array('jquery'), '1.2.1', true);
    }
    wp_enqueue_script('grve-plugins', $template_dir_uri . '/js/plugins.js', array('jquery'), '2.1.0', true);
    $grve_plugins_data = array('retina_support' => grve_option('retina_support', 'default'));
    wp_localize_script('grve-plugins', 'grve_plugins_data', $grve_plugins_data);
    wp_enqueue_script('grve-smartresize-script', $template_dir_uri . '/js/smartresize.js', array('jquery'), '1.0.0', true);
    wp_enqueue_script('grve-isotope-script', $template_dir_uri . '/js/isotope.pkgd.min.js', array('jquery'), '2.0.0', true);
    wp_enqueue_script('grve-packery-mode-script', $template_dir_uri . '/js/packery-mode.pkgd.min.js', array('jquery'), '0.1.0', true);
    wp_enqueue_script('grve-main-script', $template_dir_uri . '/js/main.js', array('jquery'), '2.1.0', true);
    $grve_row_stellar_auto = apply_filters('grve_row_stellar_auto', '1');
    $grve_main_data = array('siteurl' => $template_dir_uri, 'ajaxurl' => admin_url('admin-ajax.php'), 'grve_wp_gallery_popup' => grve_option('wp_gallery_popup', '0'), 'grve_row_stellar_auto' => $grve_row_stellar_auto);
    wp_localize_script('grve-main-script', 'grve_main_data', $grve_main_data);
}
Пример #3
0
/* Text Color */
$css .= "\r\n\r\n#grve-main-content,\r\n.grve-bg-light,\r\n#grve-main-content .grve-sidebar-colored.grve-bg-light a,\r\n#grve-anchor-menu,\r\n#grve-main-content .grve-post-author a,\r\n#grve-main-content .widget.widget_categories li a,\r\n#grve-main-content .widget.widget_pages li a,\r\n#grve-main-content .widget.widget_archive li a,\r\n#grve-main-content .widget.widget_nav_menu li a,\r\n#grve-main-content .widget.widget_tag_cloud a,\r\n#grve-main-content .widget.widget_meta a,\r\n#grve-main-content .widget.widget_recent_entries a,\r\n#grve-main-content .widget.widget_recent_comments a.url,\r\n#grve-main-content .grve-widget.grve-comments a.url,\r\n#grve-main-content .grve-widget.grve-latest-news a,\r\n#grve-social-share-responsive ul li a,\r\n#grve-main-content .grve-widget.grve-social li a,\r\n.grve-tags li a,\r\n.grve-categories li a,\r\n#grve-comments .grve-comment-item .grve-comment-date a:hover,\r\n.grve-pagination ul li a,\r\n.grve-filter ul li:after,\r\ninput[type='text'],\r\ninput[type='input'],\r\ninput[type='password'],\r\ninput[type='email'],\r\ninput[type='number'],\r\ninput[type='date'],\r\ninput[type='url'],\r\ninput[type='tel'],\r\ninput[type='search'],\r\ntextarea,\r\nselect,\r\n#grve-meta-responsive ul li a,\r\n.grve-map-infotext p,\r\n#grve-main-content .grve-portfolio .grve-light.grve-caption,\r\n#grve-main-content .grve-grve-gallery .grve-light.grve-caption,\r\n#grve-main-content .grve-image-hover .grve-light.grve-team-identity,\r\n.grve-team .grve-team-social li a,\r\n.grve-comment-nav ul li a,\r\n.grve-pagination ul li:after,\r\n.grve-search button[type='submit'] .grve-icon-search,\r\n.grve-top-btn,\r\n.woocommerce nav.woocommerce-pagination ul li a,\r\n.woocommerce nav.woocommerce-pagination ul li span,\r\n.woocommerce #content nav.woocommerce-pagination ul li a,\r\n.woocommerce #content nav.woocommerce-pagination ul li span,\r\n.woocommerce-page nav.woocommerce-pagination ul li a,\r\n.woocommerce-page nav.woocommerce-pagination ul li span,\r\n.woocommerce-page #content nav.woocommerce-pagination ul li a,\r\n.woocommerce-page #content nav.woocommerce-pagination ul li span,\r\n.woocommerce ul.products li.product .price,\r\n.woocommerce-page ul.products li.product .price,\r\n.woocommerce-page .star-rating span:before,\r\n.woocommerce-page .woocommerce-product-rating a,\r\n.woocommerce div.product .woocommerce-tabs ul.tabs li a,\r\n.woocommerce #content div.product .woocommerce-tabs ul.tabs li a,\r\n.woocommerce-page div.product .woocommerce-tabs ul.tabs li a,\r\n.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li a,\r\nul.product-categories li a,\r\n.woocommerce.widget_product_tag_cloud .tagcloud a,\r\n.product_meta a {\r\n\tcolor: " . grve_option('body_text_color') . ";\r\n}\r\n\r\n.grve-testimonial .owl-controls .owl-page span {\r\n\tbackground-color: " . grve_option('body_text_color') . ";\r\n}\r\n\r\n";
/* Spinner */
$css .= "\r\n.grve-iso-spinner svg path {\r\n\tfill: " . grve_option('body_text_color') . ";\r\n}\r\n";
/* Headings Color */
$css .= "\r\n\r\n#grve-main-content h1,\r\n#grve-main-content h2,\r\n#grve-main-content h3,\r\n#grve-main-content h4,\r\n#grve-main-content h5,\r\n#grve-main-content h6,\r\n#grve-main-content .grve-post-title,\r\n.grve-blog .grve-read-more,\r\n#grve-main-content .more-link,\r\n#grve-main-content .widget.widget_rss cite,\r\n#grve-main-content .widget.widget_rss .grve-widget-title a,\r\n#grve-main-content .widget.widget_recent_comments a:hover,\r\n#grve-main-content .grve-widget.grve-comments a:hover,\r\n#grve-main-content .widget.widget_recent_entries li span.post-date,\r\n#grve-main-content .grve-widget.grve-comments .grve-comment-date,\r\n#grve-main-content .grve-widget.grve-latest-news .grve-latest-news-date,\r\n.widget.widget_calendar table th,\r\n.grve-tags li:first-child,\r\n.grve-categories li:first-child,\r\n#grve-comments .comment-reply-link:hover,\r\n#grve-comments .grve-comment-item .grve-author a,\r\n#grve-comments .comment-edit-link,\r\n#respond .comment-reply-title small a:hover,\r\n#respond .comment-notes,\r\n#grve-main-content .grve-read-more:hover,\r\n#grve-main-content .more-link:hover,\r\n.grve-label-post.format-quote .grve-post-meta .grve-like-counter span,\r\n#grve-share-modal .grve-social li a,\r\n#grve-language-modal .grve-language li a,\r\n.grve-accordion .grve-title.active,\r\n.grve-toggle .grve-title.active,\r\n#grve-meta-responsive ul li span,\r\ninput[type='text']:hover,\r\ninput[type='input']:hover,\r\ninput[type='password']:hover,\r\ninput[type='email']:hover,\r\ninput[type='number']:hover,\r\ninput[type='date']:hover,\r\ninput[type='url']:hover,\r\ninput[type='tel']:hover,\r\ninput[type='search']:hover,\r\ntextarea:hover,\r\nselect:hover,\r\ninput[type='text']:focus,\r\ninput[type='password']:focus,\r\ninput[type='email']:focus,\r\ninput[type='number']:focus,\r\ninput[type='date']:focus,\r\ninput[type='url']:focus,\r\ninput[type='tel']:focus,\r\ninput[type='search']:focus,\r\ntextarea:focus,\r\n#grve-main-content .grve-portfolio .grve-light.grve-title,\r\n#grve-main-content .grve-grve-gallery .grve-light.grve-title,\r\n#grve-main-content .grve-image-hover.grve-style-1 .grve-light.grve-team-name,\r\n.grve-related-wrapper small,\r\n.grve-product-name a,\r\n.woocommerce table.shop_table th,\r\n.woocommerce-page table.shop_table th,\r\n.woocommerce ul.cart_list li a,\r\n.woocommerce ul.product_list_widget li a,\r\n.woocommerce-page ul.cart_list li a,\r\n.woocommerce-page ul.product_list_widget li a,\r\n.product_meta {\r\n\tcolor: " . grve_option('body_heading_color') . ";\r\n}\r\n\r\n";
if (is_singular('post')) {
    $grve_sidebar_bg_color = grve_post_meta('grve_sidebar_bg_color', grve_option('post_sidebar_bg_color'), 'none');
} else {
    if (is_singular('page')) {
        $grve_sidebar_bg_color = grve_post_meta('grve_sidebar_bg_color', grve_option('page_sidebar_bg_color'), 'none');
    } else {
        if (is_singular('portfolio')) {
            $grve_sidebar_bg_color = grve_post_meta('grve_sidebar_bg_color', grve_option('portfolio_sidebar_bg_color'), 'none');
        } else {
            if (grve_woocommerce_enabled()) {
                if (is_product()) {
                    $grve_sidebar_bg_color = grve_post_meta('grve_sidebar_bg_color', 'none');
                } else {
                    if (is_shop() || is_product_category() || is_product_tag()) {
                        $grve_sidebar_bg_color = grve_post_meta_shop('grve_sidebar_bg_color', 'none');
                    } else {
                        $grve_sidebar_bg_color = grve_option('blog_sidebar_bg_color', 'none');
                    }
                }
            } else {
                $grve_sidebar_bg_color = grve_option('blog_sidebar_bg_color', 'none');
            }
        }
    }
}
Пример #4
0
/**
 * Prints Footer Bar Area
 */
function grve_print_footer_bar()
{
    if (grve_visibility('footer_bar_visibility')) {
        if (grve_visibility('footer_copyright_visibility')) {
            if (is_singular() && 'yes' == grve_post_meta('grve_disable_copyright')) {
                return;
            }
            if (grve_woocommerce_enabled()) {
                // Disabled Footer Copyright in Shop
                if (is_shop() && !is_search() && 'yes' == grve_post_meta_shop('grve_disable_copyright')) {
                    return false;
                }
            }
            $section_type = grve_option('footer_bar_section_type', 'fullwidth-background');
            $align_center = grve_option('footer_bar_align_center', 'no');
            $second_area = grve_option('second_area_visibility', '1');
            ?>
			<div id="grve-footer-bar" class="grve-section" data-section-type="<?php 
            echo esc_attr($section_type);
            ?>
" data-align-center="<?php 
            echo esc_attr($align_center);
            ?>
">

				<div class="grve-row">
					<div class="grve-column-1-2">
						<div class="grve-copyright">
							<?php 
            echo do_shortcode(grve_option('footer_copyright_text'));
            ?>
						</div>
					</div>
					<?php 
            if ('2' == $second_area) {
                ?>
					<div class="grve-column-1-2">
						<nav id="grve-second-menu">
							<?php 
                grve_footer_nav();
                ?>
						</nav>
					</div>
					<?php 
            } else {
                if ('3' == $second_area) {
                    ?>
					<div class="grve-column-1-2">
						<?php 
                    global $grve_social_list;
                    $options = grve_option('footer_social_options');
                    $social_display = grve_option('footer_social_display', 'text');
                    $social_options = grve_option('social_options');
                    if (!empty($options) && !empty($social_options)) {
                        if ('text' == $social_display) {
                            echo '<ul class="grve-element grve-social">';
                            foreach ($social_options as $key => $value) {
                                if (isset($options[$key]) && 1 == $options[$key] && $value) {
                                    if ('skype' == $key) {
                                        echo '<li><a href="' . $value . '">' . $grve_social_list[$key] . '</a></li>';
                                    } else {
                                        echo '<li><a href="' . esc_url($value) . '" target="_blank">' . $grve_social_list[$key] . '</a></li>';
                                    }
                                }
                            }
                            echo '</ul>';
                        } else {
                            echo '<ul class="grve-element grve-social grve-social-icons">';
                            foreach ($social_options as $key => $value) {
                                if (isset($options[$key]) && 1 == $options[$key] && $value) {
                                    if ('skype' == $key) {
                                        echo '<li><a href="' . $value . '" class="grve-icon-' . $key . '"></a></li>';
                                    } else {
                                        echo '<li><a href="' . esc_url($value) . '" target="_blank" class="grve-icon-' . $key . '"></a></li>';
                                    }
                                }
                            }
                            echo '</ul>';
                        }
                    }
                    ?>
					</div>
					<?php 
                }
            }
            ?>

				</div>
			</div>

<?php 
        }
    }
}
Пример #5
0
/**
 * Prints Shop modal
 */
function grve_print_header_shop_modal()
{
    if (grve_woocommerce_enabled()) {
        ?>

	<div id="grve-shop-modal" class="grve-modal">
		<div class="grve-modal-content">
			<a href="#" class="grve-close-modal grve-icon-close"></a>
			<div class="grve-cart-popup">
				<div class="widget_shopping_cart_content"></div>
			</div>
		</div>
	</div>

<?php 
    }
}
Пример #6
0
function grve_page_options_box($post)
{
    wp_nonce_field('grve_nonce_save', 'grve_page_save_nonce');
    $page_description = get_post_meta($post->ID, 'grve_page_description', true);
    $page_layout = get_post_meta($post->ID, 'grve_page_layout', true);
    $page_sidebar = get_post_meta($post->ID, 'grve_page_sidebar', true);
    $fixed_sidebar = get_post_meta($post->ID, 'grve_fixed_sidebar', true);
    $sidebar_bg_color = get_post_meta($post->ID, 'grve_sidebar_bg_color', true);
    $page_navigation_menu = get_post_meta($post->ID, 'grve_page_navigation_menu', true);
    $grve_main_navigation_menu = get_post_meta($post->ID, 'grve_main_navigation_menu', true);
    $grve_main_navigation_menu_type = get_post_meta($post->ID, 'grve_main_navigation_menu_type', true);
    $grve_go_to_section = get_post_meta($post->ID, 'grve_go_to_section', true);
    $grve_disable_sticky = get_post_meta($post->ID, 'grve_disable_sticky', true);
    $grve_disable_menu = get_post_meta($post->ID, 'grve_disable_menu', true);
    $grve_disable_menu_items = get_post_meta($post->ID, 'grve_disable_menu_items', true);
    $grve_disable_title = get_post_meta($post->ID, 'grve_disable_title', true);
    $grve_disable_safe_button = get_post_meta($post->ID, 'grve_disable_safe_button', true);
    $grve_disable_content = get_post_meta($post->ID, 'grve_disable_content', true);
    $grve_disable_top_bar = get_post_meta($post->ID, 'grve_disable_top_bar', true);
    $grve_disable_bottom_bar = get_post_meta($post->ID, 'grve_disable_bottom_bar', true);
    $grve_disable_footer = get_post_meta($post->ID, 'grve_disable_footer', true);
    $grve_disable_copyright = get_post_meta($post->ID, 'grve_disable_copyright', true);
    ?>
		<table class="form-table grve-metabox">
			<tbody>
				<tr class="grve-border-bottom">
					<th>
						<label for="grve-page-description">
							<strong><?php 
    _e('Description', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('Enter your page description.', GRVE_THEME_TRANSLATE);
    ?>
							</span>
						</label>
					</th>
					<td>
						<input type="text" id="grve-page-description" class="grve-meta-text" name="grve_page_description" value="<?php 
    echo esc_attr($page_description);
    ?>
"/>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-page-layout">
							<strong><?php 
    _e('Layout', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('Select page content and sidebar alignment.', GRVE_THEME_TRANSLATE);
    ?>
								<br/>
								<?php 
    if (grve_woocommerce_enabled() && $post->ID == wc_get_page_id('shop')) {
        ?>
								<strong><?php 
        _e('Default: Right Sidebar', GRVE_THEME_TRANSLATE);
        ?>
</strong>
								<?php 
    } else {
        ?>
								<strong><?php 
        _e('Default is configured in Theme Options - Page Options.', GRVE_THEME_TRANSLATE);
        ?>
</strong>
								<?php 
    }
    ?>
							</span>
						</label>
					</th>
					<td>
						<?php 
    grve_print_layout_selection($page_layout, 'grve-page-layout', 'grve_page_layout');
    ?>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-page-sidebar">
							<strong><?php 
    _e('Sidebar', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('Select page sidebar.', GRVE_THEME_TRANSLATE);
    ?>
								<br/>
								<?php 
    if (grve_woocommerce_enabled() && $post->ID == wc_get_page_id('shop')) {
        ?>
								<strong><?php 
        _e('Default: Shop Overview Page', GRVE_THEME_TRANSLATE);
        ?>
</strong>
								<?php 
    } else {
        ?>
								<strong><?php 
        _e('Default is configured in Theme Options - Page Options.', GRVE_THEME_TRANSLATE);
        ?>
</strong>
								<?php 
    }
    ?>
							</span>
						</label>
					</th>
					<td>
						<?php 
    grve_print_sidebar_selection($page_sidebar, 'grve-page-sidebar', 'grve_page_sidebar');
    ?>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-sidebar-color">
							<strong><?php 
    _e('Sidebar Background Color', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('Select sidebar background color.', GRVE_THEME_TRANSLATE);
    ?>
								<br/>
								<?php 
    if (grve_woocommerce_enabled() && $post->ID == wc_get_page_id('shop')) {
        ?>
								<strong><?php 
        _e('Default: None', GRVE_THEME_TRANSLATE);
        ?>
</strong>
								<?php 
    } else {
        ?>
								<strong><?php 
        _e('Default is configured in Appearance - Customize - Colors - Sidebars - Page Sidebar Background Color.', GRVE_THEME_TRANSLATE);
        ?>
</strong>
								<?php 
    }
    ?>
							</span>
						</label>
					</th>
					<td>
						<select id="grve-sidebar-bg-color" name="grve_sidebar_bg_color">
							<option value="" <?php 
    selected('', $sidebar_bg_color);
    ?>
><?php 
    _e('Default', GRVE_THEME_TRANSLATE);
    ?>
</option>
							<option value="none" <?php 
    selected('none', $sidebar_bg_color);
    ?>
><?php 
    _e('None', GRVE_THEME_TRANSLATE);
    ?>
</option>
							<?php 
    grve_print_media_color_selection($sidebar_bg_color);
    ?>
						</select>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-fixed-sidebar">
							<strong><?php 
    _e('Fixed Sidebar', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('If selected, sidebar will be fixed.', GRVE_THEME_TRANSLATE);
    ?>
							</span>
						</label>
					</th>
					<td>
						<input type="checkbox" id="grve-fixed-sidebar" name="grve_fixed_sidebar" value="yes" <?php 
    checked($fixed_sidebar, 'yes');
    ?>
/>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-page-navigation-menu">
							<strong><?php 
    _e('Anchor Navigation Menu', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('Select page anchor navigation menu.', GRVE_THEME_TRANSLATE);
    ?>
								<br/>
								<strong><?php 
    _e('Only first level will be displayed.', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							</span>
						</label>
					</th>
					<td>
						<?php 
    grve_print_menu_selection($page_navigation_menu, 'grve-page-navigation-menu', 'grve_page_navigation_menu');
    ?>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-main-navigation-menu">
							<strong><?php 
    _e('Main Navigation Menu', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('Select alternative main navigation menu.', GRVE_THEME_TRANSLATE);
    ?>
								<br/>
								<strong><?php 
    _e('Default: Menus - Theme Locations - Header Menu.', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							</span>
						</label>
					</th>
					<td>
						<?php 
    grve_print_menu_selection($grve_main_navigation_menu, 'grve-main-navigation-menu', 'grve_main_navigation_menu', 'default');
    ?>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-main-navigation-menu-type">
							<strong><?php 
    _e('Main Navigation Menu Type', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('Select main navigation menu type.', GRVE_THEME_TRANSLATE);
    ?>
								<br/>
								<strong><?php 
    _e('Default is configured in Appearance - Customize - Logo Background & Menu Type - Menu Type', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							</span>
						</label>
					</th>
					<td>
						<?php 
    grve_print_menu_type_selection($grve_main_navigation_menu_type, 'grve-main-navigation-menu-type', 'grve_main_navigation_menu_type');
    ?>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-go-to-section">
							<strong><?php 
    _e('Go To Section', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('If selected, all sections with Section ID will be enhanced with navigation.', GRVE_THEME_TRANSLATE);
    ?>
							</span>
						</label>
					</th>
					<td>
						<input type="checkbox" id="grve-go-to-section" name="grve_go_to_section" value="yes" <?php 
    checked($grve_go_to_section, 'yes');
    ?>
/>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-disable-sticky-header">
							<strong><?php 
    _e('Disable Sticky Header', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('If selected, sticky header will be disabled.', GRVE_THEME_TRANSLATE);
    ?>
							</span>
						</label>
					</th>
					<td>
						<input type="checkbox" id="grve-disable-sticky-header" name="grve_disable_sticky" value="yes" <?php 
    checked($grve_disable_sticky, 'yes');
    ?>
/>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-disable-menu">
							<strong><?php 
    _e('Disable Main Menu', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('If selected, main menu will be hidden.', GRVE_THEME_TRANSLATE);
    ?>
							</span>
						</label>
					</th>
					<td>
						<input type="checkbox" id="grve-disable-menu" name="grve_disable_menu" value="yes" <?php 
    checked($grve_disable_menu, 'yes');
    ?>
/>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-disable-menu-items">
							<strong><?php 
    _e('Disable Main Menu Items', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('If selected, main menu items will be hidden.', GRVE_THEME_TRANSLATE);
    ?>
							</span>
						</label>
					</th>
					<td>
						<input type="checkbox" id="grve-disable-menu-items" name="grve_disable_menu_items" value="yes" <?php 
    checked($grve_disable_menu_items, 'yes');
    ?>
/>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-disable-title">
							<strong><?php 
    _e('Disable Title/Description', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('If selected, title and decription will be hidden.', GRVE_THEME_TRANSLATE);
    ?>
							</span>
						</label>
					</th>
					<td>
						<input type="checkbox" id="grve-disable-title" name="grve_disable_title" value="yes" <?php 
    checked($grve_disable_title, 'yes');
    ?>
/>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-disable-safe-button">
							<strong><?php 
    _e('Disable Safe Button', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('If selected, safe button will be hidden.', GRVE_THEME_TRANSLATE);
    ?>
							</span>
						</label>
					</th>
					<td>
						<input type="checkbox" id="grve-disable-safe-button" name="grve_disable_safe_button" value="yes" <?php 
    checked($grve_disable_safe_button, 'yes');
    ?>
/>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-disable-top-bar">
							<strong><?php 
    _e('Disable Top Bar', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('If selected, top bar will be hidden.', GRVE_THEME_TRANSLATE);
    ?>
							</span>
						</label>
					</th>
					<td>
						<input type="checkbox" id="grve-disable-top-bar" name="grve_disable_top_bar" value="yes" <?php 
    checked($grve_disable_top_bar, 'yes');
    ?>
/>
					</td>
				</tr>
				<?php 
    if (grve_woocommerce_enabled() && $post->ID == wc_get_page_id('shop')) {
        ?>
				<input type="hidden" name="grve_disable_content" value="" />
				<?php 
    } else {
        ?>
				<tr>
					<th>
						<label for="grve-disable-content">
							<strong><?php 
        _e('Disable Content Area', GRVE_THEME_TRANSLATE);
        ?>
</strong>
							<span>
								<?php 
        _e('If selected, content area will be hidden (including sidebar and comments).', GRVE_THEME_TRANSLATE);
        ?>
							</span>
						</label>
					</th>
					<td>
						<input type="checkbox" id="grve-disable-content" name="grve_disable_content" value="yes" <?php 
        checked($grve_disable_content, 'yes');
        ?>
/>
					</td>
				</tr>
				<?php 
    }
    ?>
				<tr>
					<th>
						<label for="grve-disable-bottom-bar">
							<strong><?php 
    _e('Disable Bottom Bar', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('If selected, bottom bar will be hidden.', GRVE_THEME_TRANSLATE);
    ?>
							</span>
						</label>
					</th>
					<td>
						<input type="checkbox" id="grve-disable-bottom-bar" name="grve_disable_bottom_bar" value="yes" <?php 
    checked($grve_disable_bottom_bar, 'yes');
    ?>
/>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-disable-footer">
							<strong><?php 
    _e('Disable Footer Widgets', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('If selected, footer widgets will be hidden.', GRVE_THEME_TRANSLATE);
    ?>
							</span>
						</label>
					</th>
					<td>
						<input type="checkbox" id="grve-disable-footer" name="grve_disable_footer" value="yes" <?php 
    checked($grve_disable_footer, 'yes');
    ?>
/>
					</td>
				</tr>
				<tr>
					<th>
						<label for="grve-disable-copyright">
							<strong><?php 
    _e('Disable Footer Copyright', GRVE_THEME_TRANSLATE);
    ?>
</strong>
							<span>
								<?php 
    _e('If selected, footer copyright area will be hidden.', GRVE_THEME_TRANSLATE);
    ?>
							</span>
						</label>
					</th>
					<td>
						<input type="checkbox" id="grve-disable-copyright" name="grve_disable_copyright" value="yes" <?php 
    checked($grve_disable_copyright, 'yes');
    ?>
/>
					</td>
				</tr>
			</tbody>
		</table>


	<?php 
}