Example #1
0
 <section id="comments" class="push-top-large">
    <?php 
if (have_comments()) {
    ?>
        <div class="section-title small">
            <h3 class="heading comment-title">
                <?php 
    printf(_n('One Comment on &ldquo;%2$s&rdquo;', '%1$s Comments on &ldquo;%2$s&rdquo;', get_comments_number(), LAYERS_THEME_SLUG), number_format_i18n(get_comments_number()), '<span>' . get_the_title() . '</span>');
    ?>
            </h3>
        </div>

        <div <?php 
    layers_wrapper_class('comment_list', 'row comment-list');
    ?>
>
            <?php 
    wp_list_comments(array('callback' => 'layers_comment', 'style' => 'div'));
    ?>
        </div><!-- .commentlist -->

        <?php 
    if (get_comment_pages_count() > 1 && get_option('page_comments')) {
        // are there comments to navigate through
        ?>
            <nav id="comment-nav-below" class="pagination" role="navigation">
                <div class="previous"><?php 
        previous_comments_link(__('&larr;', 'layerswp'));
        ?>
</div>
                <div class="next"><?php 
Example #2
0
			<?php 
do_action('layers_before_header_inner');
?>
			<div class="<?php 
if ('layout-fullwidth' != layers_get_theme_mod('header-width')) {
    echo 'container';
}
?>
 header-block">
				<?php 
if ('header-logo-center' == layers_get_theme_mod('header-menu-layout')) {
    get_template_part('partials/header', 'centered');
} else {
    get_template_part('partials/header', 'standard');
}
// if centered header
?>
			</div>
			<?php 
do_action('layers_after_header_inner');
?>
		</section>

		<?php 
do_action('layers_after_header');
?>

		<section id="wrapper-content" <?php 
layers_wrapper_class('wrapper_content', 'wrapper-content');
?>
>
Example #3
0
			<div id="back-to-top">
				<a href="#top"><?php 
_e('Back to top', 'layerswp');
?>
</a>
			</div> <!-- back-to-top -->

		</section>

		<?php 
do_action('layers_before_footer');
?>

		<footer id="footer" <?php 
layers_wrapper_class('footer_site', 'footer-site');
?>
>
			<?php 
do_action('layers_before_footer_inner');
?>
			<div class="<?php 
if ('layout-fullwidth' != layers_get_theme_mod('footer-width')) {
    echo 'container';
}
?>
 content clearfix">
				<?php 
// Do logic related to the footer widget area count
$footer_sidebar_count = layers_get_theme_mod('footer-sidebar-count');
?>
<?php

global $layers_page_title_shown;
$layers_page_title_shown = 1;
$details = layers_get_page_title();
if (isset($details['title']) || isset($details['excerpt'])) {
    ?>
    <div <?php 
    layers_wrapper_class('title_container', 'title-container');
    ?>
>
        <?php 
    do_action('layers_before_header_page_title');
    ?>
        <div class="title">
            <?php 
    layers_bread_crumbs();
    ?>
            <?php 
    do_action('layers_before_title_heading');
    ?>
            <?php 
    if (isset($details['title']) && '' != $details['title']) {
        ?>
                <h3 class="heading"><?php 
        echo $details['title'];
        ?>
</h3>
            <?php 
    }
    // if isset $title
Example #5
0
do_action('layers_before_comments');
?>
<div id="comments" class="push-top-large">
	<?php 
if (have_comments()) {
    ?>
		<div class="section-title small">
			<h3 class="heading comment-title">
				<?php 
    printf(_n('One Comment on &ldquo;%2$s&rdquo;', '%1$s Comments on &ldquo;%2$s&rdquo;', get_comments_number(), LAYERS_THEME_SLUG), number_format_i18n(get_comments_number()), '<span>' . get_the_title() . '</span>');
    ?>
			</h3>
		</div>

		<div <?php 
    layers_wrapper_class('comment_list', 'comment-list clearfix');
    ?>
>
			<?php 
    wp_list_comments(array('callback' => 'layers_comment', 'style' => 'div'));
    ?>
		</div><!-- .commentlist -->

		<?php 
    if (get_comment_pages_count() > 1 && get_option('page_comments')) {
        // are there comments to navigate through
        ?>
			<nav id="comment-nav-below" class="pagination" role="navigation">
				<div class="previous"><?php 
        previous_comments_link(__('&larr;', 'layerswp'));
        ?>