Beispiel #1
0
    $thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id(), 'medium');
    ?>
        <meta class='swiftype' name='image' data-type='enum' content='<?php 
    echo $thumbnail[0];
    ?>
'>
<?php 
}
?>
        <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<?php 
$favicon = get_theme_mod(ns_ . 'favicon');
if ($favicon) {
    echo '        <link rel="icon" href="' . $favicon . '" type="image/png">' . "\n";
}
wp_head();
?>
    </head>
    <body <?php 
body_class();
?>
>
    <!-- start everything -->
    <div class="everything">
        <header data-swiftype-index='false' class="hide-for-print clearfix">
<?php 
locate_template(array('sections/nav.php'), true);
bb_theme::section('name=top&file=top.php&inner_class=row-full');
?>
        </header>
        <section class="main-section">
Beispiel #2
0
<?php

get_header();
bb_theme::section('name=content&file=404.php&inner_class=row');
get_footer();
Beispiel #3
0
<?php

bb_theme::section('name=footer&file=footer.php&inner_class=row&type=footer');
?>
					<!-- content goes here -->
					</section>
				<a class="exit-off-canvas"></a>
				</div>
			</div>
		</div><!-- end everything -->
		<?php 
wp_footer();
?>
        <script>
          var zurb = jQuery.noConflict();
          zurb(document).foundation();
        </script>
        <script>
        	var $buoop = {c:2};
        	function $buo_f(){
        	var e = document.createElement("script");
        	e.src = "//browser-update.org/update.js";
        	document.body.appendChild(e);
        	};
        	try {document.addEventListener("DOMContentLoaded", $buo_f,false)}
        	catch(e){window.attachEvent("onload", $buo_f)}
        </script>
	</body>
</html>
Beispiel #4
0
<?php

get_header();
bb_theme::section('name=content&file=content.php&inner_class=row');
bb_theme::section('name=callouts&file=callouts.php&inner_class=row-full');
get_footer();
<?php

/*
 * Template Name: Children as Paragraphs
 */
get_header();
bb_theme::section('name=content&file=children-as-paragraphs.php&inner_class=row');
get_footer();
Beispiel #6
0
        <meta class='swiftype' name='image' data-type='enum' content='<?php 
    echo $thumbnail[0];
    ?>
'>
<?php 
}
$favicon = get_theme_mod(ns_ . 'favicon');
if ($favicon) {
    echo '        <link rel="icon" href="' . $favicon . '" type="image/png">' . "\n";
}
$theme_fonts = get_option('theme_fonts');
// enable font-icons from wp-admin/appearance/font settings
if ($theme_fonts[ns_ . "fa430"] == 'true') {
    echo '        <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">' . "\n";
}
// Font Awesome 4.3.0
wp_head();
?>
    </head>
    <body>
    <!-- start everything -->
    <div class="s-everything">
        <div class="off-canvas-wrap" data-offcanvas>
             <div class="inner-wrap">
                <header data-swiftype-index='false' class="hide-for-print">
<?php 
bb_theme::section('name=top&file=top.php&&class=hide-for-small&inner_class=row');
locate_template(array('sections/offcanvas.php'), true);
?>
                </header>
                <section class="main-section">