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

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Genesis Custom Archive Page Loop

This file enables you to create a custom loop for any type of archive including, home, category, tag, author, search and date archive pages.

You can use it with standard posts or custom post type archives.

The code includes custom fields for any type of content as well as a special custom field for adding a custom featured image which only displays on the archive page. This image is seperate to what you add using the native meta box for featured images so you can use either or both.

By default, the archive displays an image and the output for several custom fields like what you see in this image:

archive-loop

The file also includes pagination.

You can use the WordPress Template Heirachy to name the file depending on the type of archive you are dealing with.

Here’s the file for logged in members:

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