Beispiel #1
0
        if (themify_theme_show_area('menu_navigation')) {
            ?>
							<nav id="main-nav-wrap">
								<?php 
            themify_theme_menu_nav();
            ?>
								<!-- /#main-nav -->
							</nav>
							<!-- /#main-nav-wrap -->
						<?php 
        }
        // exclude menu navigation
        ?>

						<?php 
        if (themify_theme_show_area('header_widgets')) {
            ?>
							<?php 
            get_template_part('includes/header-widgets');
            ?>
							<!-- /header-widgets -->
						<?php 
        }
        // exclude header widgets
        ?>

						<a id="menu-icon-close" href="#"></a>
					</div>
					<!-- /#mobile-menu -->
				<?php 
    }
 /**
  * Checks if all the elements in a certain area have been excluded.
  *
  * @since 1.0.0
  *
  * @param string $area
  *
  * @return bool
  */
 function themify_theme_do_not_exclude_all($area = 'header')
 {
     if ('mobile-menu' == $area) {
         return themify_theme_show_area('search_form') || themify_theme_show_area('social_widget') || themify_theme_show_area('header_widgets') || themify_theme_show_area('rss') || themify_theme_show_area('menu_navigation');
     } elseif ('header' == $area) {
         return themify_theme_show_area('site_logo') || themify_theme_show_area('site_tagline') || themify_theme_show_area('search_form') || themify_theme_show_area('social_widget') || themify_theme_show_area('header_widgets') || themify_theme_show_area('rss') || themify_theme_show_area('menu_navigation');
     } elseif ('footer' == $area) {
         return themify_theme_show_area('footer_site_logo') || themify_theme_show_area('footer_menu_navigation') || themify_theme_show_area('footer_texts') || themify_theme_show_area('footer_widgets') || themify_theme_show_area('footer_back');
     }
     return false;
 }
Beispiel #3
0
										<?php 
        themify_the_footer_text();
        ?>
										<?php 
        themify_the_footer_text('right');
        ?>
									<?php 
    }
    ?>
								</div>
								<!-- /.footer-text -->
							</div>
						</div>

						<?php 
    if (themify_theme_show_area('footer_widgets')) {
        ?>
							<div class="section-col clearfix">
								<?php 
        get_template_part('includes/footer-widgets');
        ?>
								<!-- /footer-widgets -->
							</div>
						<?php 
    }
    // exclude footer widgets
    ?>

						<?php 
    themify_footer_end();
    // hook