예제 #1
0
	<div class="wrapper">

	<?php 
    while ($post_query->have_posts()) {
        $post_query->the_post();
        ?>
		<article id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class(array('col', 'box'));
        ?>
> 
		    <div class="flex-wrapper">
			<?php 
        pp_post_thumbnail('pp-grid-thumbnail', true);
        ?>
				
				<span class="date">
				<?php 
        echo esc_html(get_the_date('M d'));
        ?>
				</span>

				<h2 class="entry-title">
					<a title="<?php 
        the_title_attribute();
        ?>
" href="<?php 
        the_permalink();
        ?>
예제 #2
0
	
	<div class="primary col content-area">
			<?php 
while (have_posts()) {
    the_post();
    ?>
				<article id="post-<?php 
    the_ID();
    ?>
" <?php 
    post_class(array('box', 'post'));
    ?>
>
					
					<?php 
    pp_post_thumbnail('pp-large');
    ?>
					<div class="entry-content">
						<?php 
    the_content(__('Continue reading <span class="meta-nav">&rarr;</span>', 'pp'));
    ?>
					</div>
				</article>

			<?php 
}
?>
	</div>

	<?php 
get_sidebar();
예제 #3
0
파일: series.php 프로젝트: apsolut/theme
if (have_posts()) {
    // Start the Loop.
    while (have_posts()) {
        the_post();
        ?>

          <article id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class(array('col', 'box'));
        ?>
> 
                <div class="flex-wrapper">
                    <?php 
        pp_post_thumbnail('pp-grid-thumbnail');
        ?>

                    <h2 class="entry-title">
                        <a href="<?php 
        the_permalink();
        ?>
"><?php 
        the_title();
        ?>
</a>
                    </h2>
                    
                    <?php 
        the_excerpt();
        ?>
예제 #4
0
파일: content.php 프로젝트: apsolut/theme
    // blog listing or learning page
    ?>

		<?php 
    if (has_post_thumbnail()) {
        ?>
			<div class="entry-wrap clear">
				<div class="entry-summary">
					<?php 
        the_excerpt();
        ?>
				</div>

				<div class="entry-thumbnail">
					<?php 
        pp_post_thumbnail('large');
        ?>
				</div>

			</div>
		<?php 
    } else {
        ?>
			<div class="entry-summary">
				<?php 
        the_excerpt();
        ?>
			</div>
		<?php 
    }
    ?>
예제 #5
0
<?php

/**
 * The template used for displaying page content
 */
?>

<article id="post-<?php 
the_ID();
?>
" <?php 
post_class();
?>
>
	<?php 
pp_post_thumbnail();
?>

	<div class="entry-content">
	<?php 
do_action('pp_entry_content_start');
?>

		<?php 
the_content();
?>

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