*/
get_header();
?>
<div class="page-heading bc-type-<?php 
echo esc_attr(etheme_get_option('breadcrumb_type'));
?>
">
	<div class="container">
		<div class="row">
			<div class="col-md-12 a-center">
				<h1 class="title"><span><?php 
the_title();
?>
</span></h1>
				<?php 
etheme_breadcrumbs();
?>
			</div>
		</div>
	</div>
</div>

<div class="container">
	<div class="page-content sidebar-position-without">
		<div class="row">
			<div class="content col-md-12">
				<?php 
$paged = get_query_var('paged') ? get_query_var('paged') : 1;
$args = array('post_type' => 'etheme_portfolio', 'paged' => $paged, 'posts_per_page' => etheme_get_option('portfolio_count'));
$loop = new WP_Query($args);
?>
Пример #2
0
    function et_page_heading()
    {
        $l = et_page_config();
        if ($l['heading'] !== 'disable' && !$l['slider']) {
            ?>
            
            <div class="page-heading bc-type-<?php 
            esc_attr_e($l['breadcrumb']);
            ?>
">
                <div class="container">
                    <div class="row">
                        <div class="col-md-12 a-center">
                            <?php 
            etheme_breadcrumbs();
            ?>
                            <h1 class="title"><span><?php 
            echo et_get_the_title();
            ?>
</span></h1>
                        </div>
                    </div>
                </div>
            </div>

        <?php 
        }
        if ($l['breadcrumb_image'] != '') {
            ?>
                <style type="text/css">
                    .page-heading {
                        background-image: url(<?php 
            echo $l['breadcrumb_image'];
            ?>
);
                    }
                </style>
            <?php 
        }
        if ($l['slider']) {
            ?>
            <div class="page-heading-slider">
                <?php 
            echo do_shortcode('[rev_slider_vc alias="' . $l['slider'] . '"]');
            ?>
            </div>
        <?php 
        }
    }