Genesis Custom Loop With Pagination

There’s at least 2 ways to create your own custom loop in Genesis.

You can use:

  1. genesis_custom_loop
  2. new WP_Query

The 2nd option doesn’t output the same HTML markup and hooks so the output is very basic when using a new WP_Query unless you add the hooks and markup back which is what the code in this tutorial produces:

You also get to use the Genesis > Theme Settings > Content Archive settings unless you want to hard code different args which you can also do.

Usage

Simply upload the file to your child themes root directory and select the Your Custom Loop Template from the Page Attributes meta box on the Edit Page screen like this:

Here’s the template code for logged in members:

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.