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

WP SITES

2670

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Tutorial Requests
  • Contact
  • Videos
  • Tags
  • Log in

Premium Member? - Request custom code

Template To Display All Posts by Each Category In Genesis

This template lists the archive title for each category and displays all posts assigned to each category under each category header like this :

The template displays the featured image from every post with a hover overlay effect.

The overlay displays the image caption if added otherwise it displays the image description. If none added, the entry title from the post is displayed on hover as a fallback.

Watch the following video to see how the featured images display either the caption, description or title on hover.

Video Demo

Shows the image hover overlay effect and responsiveness of the grid on smaller screens. Also shows the category archive header linked to the category page.

Tested using the Genesis Sample child theme by StudioPress.

Template Installation

There’s 2 steps once you have logged in and accessed the download folder :

Step 1 : Upload the file named posts-by-category.php to your child themes root directory and select the Template named Posts by category from the drop down menu in the Page Attributes box on any Edit Page screen.

Step 2 : Copy & paste the CSS from the style.css file to the end of your child themes style sheet and clear caching.

Register or login to access the download folder :

Register for full access

Grid Columns

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Brad Dalton Specializes In Genesis child theme customization & code modification. Read More…

Learn 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