Example #1
0
>
				<?php 
hybrid_site_title();
?>
				<?php 
hybrid_site_description();
?>

			</div><!-- #branding -->

			<?php 
hybrid_get_menu('social');
// Loads the menu/social.php template.
?>

			<?php 
hybrid_get_menu('primary');
// Loads the menu/primary.php template.
?>

		</header><!-- #header -->

		<?php 
//hybrid_get_menu( 'secondary' ); // Loads the menu/secondary.php template.
?>

		<div id="main" class="main">

			<?php 
hybrid_get_menu('breadcrumbs');
// Loads the menu/breadcrumbs.php template.
Example #2
0
				<div <?php 
hybrid_attr('branding');
?>
>
					<?php 
hybrid_site_title();
?>
					<?php 
hybrid_site_description();
?>
				</div><!-- #branding -->

				<?php 
hybrid_get_sidebar('header-right');
?>

				<?php 
tha_header_bottom();
?>

			</div>

		</header><!-- #header -->

		<?php 
tha_header_after();
?>

		<?php 
hybrid_get_menu('after-header');
Example #3
0
wp_head();
// Hook required for scripts, styles, and other <head> items.
?>
</head>

<body <?php 
hybrid_attr('body');
?>
>

	<div id="container">

		<header id="header">

			<div id="branding">
				<?php 
hybrid_site_title();
?>
				<?php 
hybrid_site_description();
?>
			</div><!-- #branding -->

		</header><!-- #header -->

		<?php 
hybrid_get_menu('primary');
// Loads the menu/primary.php template.
?>

		<div id="main">
Example #4
0
hybrid_get_sidebar('primary');
// Loads the sidebar/primary.php template.
?>
		</div><!-- #main -->

		<?php 
//hybrid_get_sidebar( 'footer' ); // Loads the sidebar/subsidiary.php template.
?>

		<footer <?php 
hybrid_attr('footer');
?>
>

			<?php 
hybrid_get_menu('social');
// Loads the menu/social.php template.
?>

			<p class="credit">
				<?php 
printf(esc_html__('Copyright &#169; %1$s %2$s', 'magik'), date_i18n('Y'), hybrid_get_site_link());
?>
			</p><!-- .credit -->
			<p class="credit">
				<?php 
echo __('Built with <big>&hearts;</big> at <a href="https://magikpress.com">MagikPress</a>', 'magik');
?>
			</p>

		</footer><!-- #footer -->
Example #5
0
	</div><!-- #content -->

	<?php 
hybrid_get_sidebar('subsidiary');
// Loads the sidebar/subsidiary.php template.
?>

	<footer <?php 
hybrid_attr('footer');
?>
>
		<div class="row">

			<?php 
hybrid_get_menu('subsidiary');
// Loads the menu/subsidiary.php template.
?>

			<div class="site-info">
				<div class="copyright">
					<?php 
printf(esc_html__('Copyright &#169; %1$s %2$s', 'croft'), date_i18n('Y'), hybrid_get_site_link());
?>
				</div><!-- .copyright -->
				<div class="credit">
					<?php 
printf(esc_html__('Powered by %1$s and %2$s', 'croft'), hybrid_get_wp_link(), hybrid_get_theme_link());
?>
				</div><!-- .credit -->
			</div><!-- .site-info -->
Example #6
0
<?php

get_header();
// Loads the header.php template.
?>

	<div id="primary" class="content-area">

		<main class="site-main" <?php 
hybrid_attr('content');
?>
>

		<?php 
hybrid_get_menu('secondary');
// Loads the menu/secondary.php template.
?>

		<?php 
if (!is_front_page() && hybrid_is_plural()) {
    // If viewing a multi-post page
    ?>

			<?php 
    locate_template(array('misc/archive-header.php'), true);
    // Loads the misc/archive-header.php template.
    ?>

		<?php 
}
// End check for multi-post page.
Example #7
0
<footer <?php 
hybrid_attr('footer');
?>
>

	<div class="wrap">

		<p class="credit">
			<?php 
echo hybrid_get_site_link() . ' &#169; ' . date_i18n('Y');
?>
			<?php 
hybrid_get_menu('footer');
?>
		</p><!-- .credit -->

	</div><!-- .wrap -->

</footer><!-- #footer -->
<?php

get_header();
// Loads the header.php template.
?>

<main <?php 
hybrid_attr('content');
?>
>

	<?php 
hybrid_get_menu('portfolio');
// Loads the menu/primary.php template.
?>

	<?php 
if (have_posts()) {
    // Checks if any posts were found.
    ?>

		<ul class="loop-entries-gallery">

			<?php 
    while (have_posts()) {
        // Begins the loop through found posts.
        ?>

				<?php 
        the_post();
        // Loads the post data.
Example #9
0
	<h1 <?php 
hybrid_attr('loop-title');
?>
><?php 
hybrid_loop_title();
?>
</h1>

	<?php 
if (is_category() || is_tax()) {
    // If viewing a category or custom taxonomy.
    ?>

		<?php 
    hybrid_get_menu('sub-terms');
    // Loads the menu/sub-terms.php template.
    ?>

	<?php 
}
// End taxonomy check.
?>

	<?php 
if (!is_paged() && ($desc = hybrid_get_loop_description())) {
    // Check if we're on page/1.
    ?>

		<div <?php 
    hybrid_attr('loop-description');
Example #10
0
				<div <?php 
hybrid_attr('branding');
?>
>
					<?php 
hybrid_site_title();
?>
					<p id="site-description" class="site-description"><?php 
bloginfo('description');
?>
</p>
				</div><!-- #branding -->

				
			</div><!-- .wrap -->

		</header><!-- #header -->

		<?php 
hybrid_get_menu('primary');
// Loads the menu/primary.php template.
?>
		<?php 
hybrid_get_menu('primary-mobile');
// Loads the menu/primary-mobile.php template.
?>

		<div id="main" class="main">
			<div class="wrap">			
					</div><!-- .entry-content -->

					<?php 
            hybrid_get_menu('formats');
            // Loads the menu/formats.php template
            ?>

				</article><!-- .entry -->

			<?php 
        } else {
            // If the page doesn't have content.
            ?>

				<?php 
            hybrid_get_menu('formats');
            // Loads the menu/formats.php template
            ?>

			<?php 
        }
        // End check for page content.
        ?>

		<?php 
    }
    // End found posts loop.
    ?>

	<?php 
}