Exemplo n.º 1
0
                      </li>
                      <?php 
    }
    ?>
                    </ul>

                    <?php 
    if (has_pagination()) {
        ?>
                    <nav class="pagination">
                      <div class="wrap">
                        <?php 
        echo posts_prev();
        ?>
                        <?php 
        echo posts_next();
        ?>
                      </div>
                    </nav>
                    <?php 
    }
    ?>

                  <?php 
} else {
    ?>
                    <p>Looks like you have some writing to do!</p>
                  <?php 
}
?>
Exemplo n.º 2
0
<!-- Pagination -->
<?php 
if (has_pagination()) {
    ?>
    <!-- Previous post -->
    <a id="previous" href="<?php 
    echo href(posts_prev());
    ?>
" class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-js-ripple-effect mdl-button--colored">
        <i class="material-icons">skip_previous</i>
    </a>
    <div class="mdl-tooltip" for="previous">
        Previous post
    </div>

    <!-- Next post -->
    <a id="next" href="<?php 
    echo href(posts_next());
    ?>
" class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-js-ripple-effect mdl-button--colored">
        <i class="material-icons">skip_next</i>
    </a>
    <div class="mdl-tooltip" for="next">
        Next post
    </div>
<?php 
}
?>

<?php 
theme_include('footer');
Exemplo n.º 3
0
						<p><?php 
        echo article_description();
        ?>
</p>
						<ul class="actions">
							<li><a href="<?php 
        echo article_url();
        ?>
" class="button">More...</a></li>
						</ul>
					</section>
				<?php 
    }
}
?>
		
				<?php 
if (has_pagination()) {
    ?>
				<nav class="pagination">
					<?php 
    echo posts_prev('<i class="fa fa-chevron-circle-left"></i><span> Older stuff</span>', '<a><i class="fa fa-chevron-circle-left"></i><span> Older Stuff</span></a>');
    echo posts_next('<span>Newer stuff </span><i class="fa fa-chevron-circle-right"></i>', '<a><span>Newer stuff </span><i class="fa fa-chevron-circle-right"></i></a>');
    ?>
				</nav>
				<?php 
}
?>
			</div>
<?php 
theme_include('footer');
Exemplo n.º 4
0
    }
    ?>
	<?php 
}
?>

	<?php 
if (has_pagination()) {
    ?>
	<ul class="pager">
		<?php 
    if (category_id() == 2) {
        ?>
		<li class="previous"><? echo posts_prev('&larr; starší'); ?></li>
		<li class="next"><? echo posts_next('novější &rarr;'); ?></li>
		<?php 
    } else {
        ?>
		<li class="previous"><? echo posts_next('&larr; předchozí'); ?></li>
		<li class="next"><? echo posts_prev('další &rarr;'); ?></li>
		<?php 
    }
    ?>
	</ul>
	<?php 
}
?>
</main>

<?php 
theme_include('partial/footer');
Exemplo n.º 5
0
    ?>
		</ul>

		<?php 
    if (has_pagination()) {
        ?>
		<nav class="pagination">
			<div class="wrap">
				<div class="previous">
					<?php 
        echo posts_prev('&larr; Older');
        ?>
				</div>
				<div class="next">
					<?php 
        echo posts_next('Newer &rarr;');
        ?>
				</div>
			</div>
		</nav>
		<?php 
    }
    ?>

	<?php 
} else {
    ?>
		<div class="wrap">
			<h1>No posts yet!</h1>
			<p>Looks like you have some writing to do!</p>
		</div>
Exemplo n.º 6
0
                <div><?php 
        echo article_markdown();
        ?>
</div>
            </article>
        <?php 
    }
    ?>
        <?php 
    if (has_pagination()) {
        ?>
            <hr class="spacing">
            <section id="pagination" class="clearfix">
               <nav>
                   <item style="float:left;"><?php 
        echo posts_next('← Newer');
        ?>
</item>
                   <item style="float:right;"><?php 
        echo posts_prev('Older →');
        ?>
</item>
               </nav>
            </section>
        <?php 
    }
    ?>
    <?php 
} else {
    ?>
        <p>Looks like you have some writing to do!</p>