function shoestrap_secondary_navbar()
    {
        if (shoestrap_getVariable('secondary_navbar_toggle') != 0) {
            ?>

    <div class="<?php 
            echo shoestrap_container_class();
            ?>
">
      <header class="secondary navbar navbar-default <?php 
            echo shoestrap_navbar_class('secondary');
            ?>
" role="banner">
        <button data-target=".nav-secondary" data-toggle="collapse" type="button" class="navbar-toggle">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <?php 
            if (shoestrap_getVariable('navbar_secondary_social') != 0) {
                shoestrap_navbar_social_links();
            }
            ?>
        <nav class="nav-secondary navbar-collapse collapse" role="navigation">
          <?php 
            wp_nav_menu(array('theme_location' => 'secondary_navigation', 'menu_class' => shoestrap_nav_class_pull()));
            ?>
        </nav>
      </header>
    </div>
  
  <?php 
        }
    }
    function shoestrap_footer_html()
    {
        $blog_name = get_bloginfo('name', 'display');
        $ftext = shoestrap_getVariable('footer_text');
        $ftext = $ftext == '' ? '&copy; [year] [sitename]' : $ftext;
        $ftext = str_replace('[year]', date('Y'), $ftext);
        $ftext = str_replace('[sitename]', $blog_name, $ftext);
        $social = shoestrap_getVariable('footer_social_toggle');
        $social_width = shoestrap_getVariable('footer_social_width');
        $width = 12;
        // Social is enabled, we're modifying the width!
        $width = intval($social_width) > 0 && $social ? $width - intval($social_width) : $width;
        $social_blank = shoestrap_getVariable('footer_social_new_window_toggle');
        $blank = $social_blank == 1 ? ' target="_blank"' : '';
        $networks = shoestrap_get_social_links();
        do_action('shoestrap_footer_before_copyright');
        ?>

  <div id="footer-copyright">
    <article class="<?php 
        echo shoestrap_container_class('footer-copyright');
        ?>
">
    	<div class='row'>
	      <?php 
        if ($social && count($networks) > 0) {
            ?>
	        <div id="footer_social_bar" class="col-md-12 col-lg-12">
	          <?php 
            foreach ($networks as $network) {
                ?>
	            <?php 
                if ($network['url'] == '') {
                    continue;
                }
                ?>
	            <a href="<?php 
                echo $network['url'];
                ?>
"<?php 
                echo $blank;
                ?>
 title="<?php 
                echo $network['icon'];
                ?>
">
	              <span class="icon el-icon-<?php 
                echo $network['icon'];
                ?>
"></span>
	            </a>
	          <?php 
            }
            ?>
	        </div>
	      <?php 
        }
        ?>
	      <div id="copyright-bar" class="col-md-12 col-lg-12">
  	      <?php 
        echo $ftext;
        ?>
	      </div>
    	</div>
    </article>
  </div>
  <?php 
    }
/*****************/
/****  Header ****/
/*****************/
?>
<header class="banner navbar navbar-default topnavbar <?php 
echo esc_attr(shoestrap_navbar_class());
?>
 <?php 
echo esc_attr(shoestrap_outer_container_class('header'));
?>
" role="banner">
	<?php 
do_action('shoestrap_inside_header_begin');
?>
  <div class="<?php 
echo esc_attr(shoestrap_container_class('header'));
?>
 navbar-outer">
    <div class="navbar-header">
      <button type="button" class="mobile navbar-toggle" data-toggle="collapse" data-target=".nav-main, .nav-extras">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <?php 
if (shoestrap_getVariable('navbar_brand') != 0) {
    echo '<a class="navbar-brand ' . esc_attr(shoestrap_branding_class(false)) . '" href="' . home_url() . '/">';
    shoestrap_logo();
    echo '</a>';
}
		
	
<?php 
}
// -- IMAGES --
// Apply a filter for child themes
$show_images = true;
$show_images = apply_filters('ac_show_page_header_images', $show_images);
if ((is_single(ac_get_post_id()) || is_page(ac_get_post_id())) && $show_images) {
    // -- Check if this post has a slideshow or image --
    $show_ss = true;
    // Hide the featured image from the page settings?
    $show_featured_image = !ac_get_meta('page_hide_featured_image');
    // Apple a filter for child theme control
    $show_featured_image = apply_filters('ac_page_hide_featured_image', $show_featured_image);
    $hero_class = ' ' . shoestrap_container_class('ac-page-hero-img') . ' ' . ac_get_hide_until_fade_class();
    // Check for post type specific slideshows
    $post_type = get_post_type(ac_get_post_id());
    switch ($post_type) {
        case 'ac_portfolio':
            $show_ss = false;
            $template_type = ac_get_meta("template_type");
            if ($template_type == 'top-images') {
                ?>
<div class='ac-page-hero-img ac-no-container-padding <?php 
                echo esc_attr($hero_class);
                ?>
'><?php 
                ac_render_ac_easy_slideshow(true);
                ?>
</div><?php 
Example #5
0
	
	  <?php 
do_action('shoestrap_pre_wrap');
?>
	
	  <?php 
do_action('shoestrap_header_media');
?>
	   
		<?php 
get_template_part('templates/post-header', '');
?>
  

	  <div class="wrap main-section <?php 
echo esc_attr(shoestrap_container_class('main'));
?>
" role="document">
	
	    <?php 
do_action('shoestrap_pre_content');
?>
	
	    <div class="content">
	      <div class="row bg">
	        <?php 
do_action('shoestrap_pre_main');
?>
	
	        <?php 
if (shoestrap_section_class('wrap')) {
Example #6
0
<?php

/*************************/
/**** Footer Template ****/
/*************************/
?>
<a id="page-bottom"></a>
<footer class="content-info <?php 
echo shoestrap_outer_container_class('footer');
?>
" role="contentinfo">

	<div class='<?php 
echo shoestrap_container_class('footer-content');
?>
'>
	  <div class="row">
	    <?php 
shoestrap_footer_content();
?>
	  </div>
  </div>
    
  <?php 
shoestrap_footer_html();
?>
</footer>