Mauer Themes › Support › Essentialist › Page numbers possible?
This topic contains 1 reply, has 2 voices, and was last updated by Paul 1 year, 5 months ago.
One more question. I was wondering whether it’s possible to implement page numbers beneath the articles. So instead of ‘newer posts / older posts’ just a number, also including the last page that features articles. So for example: 1 2 3 … 27
Hope to hear from you.
Best wishes, Kris
You can achieve this customization by doing the following:
Please go to the file content-grid_3_cols.php in the theme folder. Insert the below code to the same place as you see in this picture.
<div class="text-center" style="padding: 30px 0 10px; font-size: 1.4rem; line-height: 1.7; letter-spacing: .01em; font-weight: 300; color: #484b4d;">
Page: <?php echo paginate_links(array('prev_next' => false, 'before_page_number' => ' ')); ?>
This will give you pagination basically looking like this:
If you want this to also work with other archive layouts (besides the 3 column grid), you’ll need to do the same thing for their respective templates.
You must be logged in to reply to this topic.