• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Add Pagination Before Loop On Posts Page When Using Static Front Page

This solution enables you to use a front-page.php file as your front page and a page_blog.php file as your posts page to display a loop of posts.

On top of this, the code also displays a pagination before the loop on our posts page as well as after the loop as you can see in the following screen shot:

pagination_before_posts

Here’s the Reading Settings which show 2 pages selected:

reading-settings

You simply create 2 new pages:

1 for your front page
And 1 for your posts page.

Then on each page, select the template to use for that specific page from the drop down menu under the Page Attributes meta box.

Front Page Template

Here’s the Edit Page screen for the Front Page Template where the file is named front-page.php

front-page-template

Register for full access

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems