36 lines
931 B
PHP
36 lines
931 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Display navigation to next previous pages when applicable
|
||
|
*
|
||
|
* @package arcHIVE-theme
|
||
|
* @since arcHIVE-theme 1.0.0
|
||
|
*/
|
||
|
|
||
|
?>
|
||
|
<?php
|
||
|
?>
|
||
|
|
||
|
<nav>
|
||
|
<?php //pagination here ?>
|
||
|
<?php if ( is_category() ): ?>
|
||
|
<?php
|
||
|
// button load more simple
|
||
|
//echo '<a class="button hollow" href="' . echo esc_url( get_category_link( ) ) . '">';
|
||
|
echo '<a class="button hollow" href="">';
|
||
|
echo 'load more ' ;
|
||
|
echo single_cat_title();
|
||
|
echo '</a>';
|
||
|
?>
|
||
|
|
||
|
<?php else: ?>
|
||
|
<?php
|
||
|
// button load more simple
|
||
|
echo '<a class="button hollow" href="' . esc_url( get_category_link( get_cat_ID($thiscategory) ) ) . '">';
|
||
|
echo 'load more ' ;
|
||
|
echo $thiscategory;
|
||
|
echo '</a>';
|
||
|
?>
|
||
|
<?php endif; ?>
|
||
|
<?php //END pagination ?>
|
||
|
</nav>
|