projects
/
WP-Themes
/
AdelaineConstruction.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14938d7
)
Update testimonial list page for page navigation
author
Steve Sutton
<steve@gaslightmedia.com>
Wed, 15 Apr 2015 18:23:15 +0000
(14:23 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Wed, 15 Apr 2015 18:23:15 +0000
(14:23 -0400)
for anything over 10 per page
archive-testimonial.php
patch
|
blob
|
history
diff --git
a/archive-testimonial.php
b/archive-testimonial.php
index
4a2b710
..
63b25d1
100644
(file)
--- a/
archive-testimonial.php
+++ b/
archive-testimonial.php
@@
-13,7
+13,11
@@
<h2><?php the_title();?></h2>
<?php the_content();?>
<hr>
- <?php endwhile; else:?>
+ <?php endwhile;?>
+ <div class="navigation">
+ <span class="newer"><?php previous_posts_link(__('« Newer','example')) ?></span> <span class="older"><?php next_posts_link(__('Older »','example')) ?></span>
+ </div><!-- /.navigation -->
+ <?php else:?>
<p><?php _e('Sorry, no posts yet');?></p>
<?php endif;?>
</div>