Beispiel #1
0
<!DOCTYPE html>
<html <?php 
language_attributes();
?>
>
<head>
    <?php 
jazzweb()->header()->charset();
jazzweb()->header()->favicon();
jazzweb()->header()->title();
wp_head();
jazzweb()->header()->style();
?>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body <?php 
body_class();
?>
>

<?php 
jazzweb()->part('header');
Beispiel #2
0
<div id="page" class="site container-fluid">
	<header id="header" class="site-header">
	</header><!-- #header -->
  
	<?php 
jazzweb()->menu('main');
?>
    
Beispiel #3
0
    </div>
    <?php 
    if (have_posts()) {
        while (have_posts()) {
            the_post();
            ?>
            <div <?php 
            jazzweb()->post()->classANDid();
            ?>
>
                <a href="<?php 
            the_permalink();
            ?>
" title="<?php 
            the_title();
            ?>
">
                    <?php 
            jazzweb()->post()->title();
            ?>
                </a>
                <div class="post-excerpt">
                    <?php 
            the_excerpt();
            ?>
                </div>
            </div>
        <?php 
        }
    }
}
Beispiel #4
0
<?php

/**
 * Loop for front page
 */
if (is_front_page()) {
    if (have_posts()) {
        while (have_posts()) {
            the_post();
            ?>

            <div <?php 
            jazzweb()->post()->classANDid();
            ?>
>
                <?php 
            jazzweb()->post()->title('h1');
            ?>
                <div class="entry-content">
                    <?php 
            the_content();
            ?>
                </div>
            </div>

        <?php 
        }
    }
}
Beispiel #5
0
    }
    @media all and (min-width: 783px) {
        .admin-bar .navbar, .admin-bar .navmenu  {
            margin-top: 32px;
        }
    }
    @media all and (max-width: 991px) {
        body {
            padding-top: 50px;
        }
    }
    .navbar-toggle {
        display: block!important;
    }

    .navmenu-fixed-left {
        z-index: 1040!important;
    }
</style>
<nav class="navmenu navmenu-default navmenu-fixed-left offcanvas-sm">
    <?php 
wp_nav_menu(array('menu' => 'main', 'theme_location' => 'main', 'depth' => 2, 'container' => 'div', 'container_class' => '', 'menu_class' => 'nav navmenu-nav', 'fallback_cb' => jazzweb()->fallback_cb(), 'walker' => jazzweb()->walker()));
?>
</nav>
<nav class="navbar navbar-default navbar-fixed-top hidden-md hidden-lg">
    <button type="button" class="navbar-toggle" data-toggle="offcanvas" data-target=".navmenu">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
    </button>
</nav>
Beispiel #6
0
<?php

/**
 * Loop for 404 page
 */
jazzweb()->field()->the('404_page_text');
Beispiel #7
0
    /**
     * @param $bitem
     * @param bool $link
     * @return string
     */
    public function bitem($bitem, $link = true)
    {
        if (!method_exists(jazzweb()->breadcrumbs(), $bitem)) {
            return '';
        }
        $bitem = @eval('return jazzweb()->breadcrumbs()->' . $bitem . '();');
        if (is_string($bitem->url) && !empty($bitem->url)) {
            ob_start();
            ?>
<li class="item"><?php 
            if ($link == true) {
                ?>
<a href="<?php 
                echo $bitem->url;
                ?>
" title="<?php 
                echo $bitem->name;
                ?>
"><?php 
                echo $bitem->name;
                ?>
</a><?php 
            } else {
                echo $bitem->name;
            }
            ?>
</li><?php 
            $r = ob_get_clean();
            return $r;
        }
        return '';
    }
Beispiel #8
0
<?php

jazzweb()->part('footer');
?>

<?php 
echo get_field('additional_code', 'options');
wp_footer();
?>
</body>
</html>
Beispiel #9
0
<?php

get_header();
?>
    <div id="content" class="site-content">
        <?php 
jazzweb()->breadcrumbs()->the();
?>
        <?php 
get_sidebar();
?>
        <main id="main" class="col-xs-12 col-sm-8 col-md-8 col-lg-8">
            <?php 
jazzweb()->loadLoop();
?>
        </main><!-- #main -->
    </div><!-- #content -->
<?php 
get_footer();