the_title_attribute();
        ?>
"><?php 
        echo get_the_title($queried_id);
        ?>
</h1>
            </div>
        </header>
        <?php 
    }
    ?>
        <div class="section col-sm-8">
        <?php 
    while (have_posts()) {
        the_post();
        theme_template_partial('post/preview');
    }
    io_posts_nav(array('next' => 'Volgende', 'previous' => 'Vorige'));
    ?>
        </div>
        <?php 
    get_sidebar();
    ?>
    </div>
<?php 
} else {
    ?>
    <p><?php 
    _e('Sorry, no posts matched your criteria.');
    ?>
</p>
示例#2
0
<?php

get_header();
?>
    <div class="row">
        <div class="section col-sm-8">

            <?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        theme_template_partial('post/single');
    }
} else {
    ?>

                <p><?php 
    _e('Sorry, no posts matched your criteria.', 'h5');
    ?>
</p>

            <?php 
}
?>

        </div>

        <?php 
get_sidebar();
?>
示例#3
0
<div class="container main-content">

<?php 
if (!is_front_page()) {
    theme_template_partial('component/breadcrumb');
}
示例#4
0
}
?>
        <?php 
the_content();
?>
    </section>

    <footer>
        <?php 
wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number'));
?>
        <?php 
the_tags('<p>Tags: ', ', ', '</p>');
?>
        <?php 
theme_template_partial('post-details');
?>
    </footer>

</article>

<?php 
if (comments_open()) {
    comments_template();
}
?>

<nav class="pager">
    <span class="pull-left">
        <?php 
previous_post_link();
示例#5
0
<?php

theme_template_partial('layout/footer');
wp_footer();
?>
</body>
</html>
示例#6
0
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" <?php 
language_attributes();
?>
>
<head>

    <?php 
wp_head();
?>

</head>
<body <?php 
body_class();
?>
>
<?php 
theme_template_partial('layout/header');
示例#7
0
<?php

get_header();
?>
    <div class="section col-sm-8">

        <?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>

            <?php 
        theme_template_partial('page');
        ?>

        <?php 
    }
} else {
    ?>

            <p><?php 
    _e('Sorry, geen berichten gevonden.', 'h5');
    ?>
</p>

        <?php 
}
?>

    </div>