Пример #1
0
        ?>

							<article id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class('member-element ' . $page_columns_class . ' ' . $member_cats . ' ' . 'member-style-' . $page_item_style);
        ?>
 itemscope itemtype="http://schema.org/CreativeWork">
                            <?php 
        get_template_part('template/member/content-style', $page_item_style);
    }
}
?>

                </section>
                <?php 
roen_content_pagination('nav-bottom', 'pagination-centered', 2, $members);
?>

                <?php 
wp_reset_postdata();
?>

            </div>
        </section>

    </div>
</div>
<?php 
get_footer();
Пример #2
0
        <section class="col-md-12 col-sm-12">
        	<header class="search-result-header">
            	<h4><?php 
printf(__('Search for "<strong>%s</strong>"', 'ROEN'), get_search_query());
?>
<span class="search-result-num"><?php 
if ($wp_query->found_posts > 1) {
    echo $wp_query->found_posts . __(' Results', 'ROEN');
} else {
    echo $wp_query->found_posts . __(' Result', 'ROEN');
}
?>
</span></h4>
            </header>
            <?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        get_template_part('template/search/content');
    }
    roen_content_pagination('nav-bottom', 'pagination-centered');
} else {
    get_template_part('template/search/content', 'none');
}
?>

        </section>
    </div>
</div>
<?php 
get_footer();
							<article id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class('portfolio-element ' . $page_columns_class . ' ' . $portfolio_cats . ' portfolio-style-' . $page_item_style);
        ?>
 itemscope itemtype="http://schema.org/CreativeWork">
                            <?php 
        get_template_part('template/portfolio/content-style', $page_item_style);
    }
}
?>

                </section>
                <?php 
roen_content_pagination('nav-bottom', 'pagination-centered', 2, $portfolios);
?>

                <?php 
wp_reset_postdata();
?>

            </div>
        </section>

        <?php 
if ($layout != 1) {
    ?>
 
        <aside class="roen-col col-lg-3 col-md-4 col-sm-4 roen-<?php 
    echo $layout_class;