Example #1
0
// get the portfolio posts
$portfolio_args = array('post_type' => 'gallery', 'orderby' => $orderby, 'order' => $order, 'showposts' => 9999, 'tax_query' => array(array('taxonomy' => GALLERY_TAXONOMY, 'terms' => max_set_term_order($categories), 'field' => 'term_id')));
// get the password protected login template part
if (post_password_required()) {
    get_template_part('includes/page', 'password.inc');
} else {
    ?>

<div id="single-page" class="clearfix left-sidebar">

	<div id="primary" class="hfeed">

		<div id="content" role="main">

			<div <?php 
    if (!is_front_page() && !is_Home()) {
        the_post();
    }
    post_class();
    ?>
 id="post-<?php 
    the_ID();
    ?>
">

				<?php 
    // get the page header template part
    locate_template(array('includes/page-header.inc.php'), true, true);
    ?>

				<?php 
Example #2
0
			</div>
			<?php 
wp_nav_menu('menu=top_menu&menu_class=top_menu&container=&');
?>
			<a class="order" id="freeCons">Задать вопрос</a>
		</section>
	</header>


<div class="mobile_menu">
<a href="/">
	<img src="<?php 
bloginfo('template_url');
?>
/images/logo_infosvyaz_ru.png" alt="ИнфоСвязь Консалтинг" class="gohome">
</a>
</div>


<div class="main">


	<?php 
if (!is_Home() && !is_404() && !is_Page()) {
    echo '<section class="breadcrumbs">';
    yoast_breadcrumb('<div class="breadcrumbs__nav">', '</div>');
    echo '</section>';
}
?>