Ejemplo n.º 1
0
#share" class="mdl-button mdl-button--icon mdl-js-button mdl-js-ripple-effect mdl-color-text--grey-700">
                <i class="material-icons">share</i>
            </a>
        </section>
    </article>
<?php 
}
?>

<!-- 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>
Ejemplo n.º 2
0
                          </footer>
                        </article>
                        <hr>
                      </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 
Ejemplo 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');
Ejemplo n.º 4
0
								<?php 
        }
        ?>

							</div>
						</article>
					<?php 
    }
    ?>
					
					<?php 
    if (has_pagination()) {
        ?>
					<nav class="pagination container clearfix">
						<?php 
        echo posts_prev('<i class="fa fa-chevron-circle-left"></i><span> older posts</span>', '<a><i class="fa fa-chevron-circle-left"></i><span> older posts</span></a>');
        echo posts_next('<span>newer posts </span><i class="fa fa-chevron-circle-right"></i>', '<a><span>newer posts </span><i class="fa fa-chevron-circle-right"></i></a>');
        ?>
					</nav>
					<?php 
    }
    ?>

			<?php 
} else {
    ?>
			<article class="no-posts-yet">
				<div class="container">
					<h2>No posts</h2>
					<p>Yeah, I haven't actually written anything here yet. I should probably write something.</p>
				</div>
Ejemplo n.º 5
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');
Ejemplo n.º 6
0
    						<a href="<?php echo article_url(); ?>" title="<?php echo article_title(); ?>"><?php echo article_title(); ?></a>
    					</h2>
    				</article>
    			</li>
    			<?php endwhile; */
    ?>
		</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 {
Ejemplo n.º 7
0
            </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>
    <?php 
}
?>
</section>