?> <?php the_post(); ?> <?php if ('yes' == grve_post_meta('grve_disable_content')) { get_footer(); } else { ?> <div id="grve-main-content"> <?php grve_print_header_title(); ?> <?php $page_nav_menu = grve_post_meta('grve_page_navigation_menu'); if (!empty($page_nav_menu)) { ?> <div id="grve-anchor-menu" class="grve-fields-bar"> <div class="grve-icon-menu"></div> <?php wp_nav_menu(array('menu' => $page_nav_menu, 'container' => false, 'depth' => '1')); ?> </div> <?php } ?>
<?php get_header(); ?> <div id="grve-main-content"> <?php grve_print_header_title('blog'); ?> <div class="grve-container <?php echo grve_sidebar_class(); ?> "> <!-- Content --> <div id="grve-content-area"> <div class="grve-section" data-section-type="in-container" data-parallax="no"> <div class="grve-row"> <div class="grve-column-1"> <!-- Blog FitRows --> <div class="grve-element grve-blog grve-large-media"> <?php if (have_posts()) { ?> <div class="grve-standard-container"> <?php // Start the Loop.
$event_style = grve_option('event_style', 'default'); if ('simple' == $event_style && is_singular()) { $grve_event_area_class = 'grve-simple-style'; } ?> <div id="grve-main-content" class="<?php echo esc_attr($grve_event_area_class); ?> "> <?php if (grve_events_calendar_is_overview()) { grve_print_header_title('event-tax'); } else { if ('default' == $event_style) { grve_print_header_title('event'); if (is_singular('tribe_events')) { ?> <div id="grve-event-bar" class="grve-fields-bar"> <?php grve_print_header_item_event_navigation(); ?> </div> <?php } } else { if (is_singular('tribe_events')) { grve_print_header_item_event_navigation('grve-nav-wrapper-classic'); } } }
<?php get_header(); the_post(); ?> <div id="grve-main-content"> <?php grve_print_header_title('forum'); ?> <div class="grve-container <?php echo grve_sidebar_class('forum'); ?> "> <!-- Content --> <div id="grve-content-area"> <!-- Content --> <div id="grve-forum-<?php the_ID(); ?> " <?php post_class(); ?> > <?php the_content(); ?> </div>
/** * Function to add before main woocommerce content */ function grve_woo_before_main_content() { $grve_title_class = ''; if (is_product() && grve_visibility('product_title_visibility')) { $grve_title_class = "grve-default-title"; } elseif (is_product_category() || is_product_tag() && grve_visibility('product_tax_title_visibility')) { $grve_title_class = "grve-default-title"; } ?> <div id="grve-main-content" class="<?php echo $grve_title_class; ?> "> <?php if (is_shop() && !is_search()) { grve_print_header_title(); $page_nav_menu = grve_post_meta_shop('grve_page_navigation_menu'); if (!empty($page_nav_menu)) { ?> <div id="grve-anchor-menu" class="grve-fields-bar"> <div class="grve-icon-menu"></div> <?php wp_nav_menu(array('menu' => $page_nav_menu, 'container' => false, 'depth' => '1')); ?> </div> <?php } } elseif (is_product()) { grve_print_product_header_title(); } elseif (is_product_category() || is_product_tag()) { grve_print_product_header_title('taxonomy'); } ?> <div class="grve-container <?php echo grve_sidebar_class('shop'); ?> "> <div id="grve-content-area"> <!-- Content --> <div id="grve-woocommerce-<?php echo wc_get_page_id('shop'); ?> " <?php post_class(); ?> > <?php }