This template can be used in any genesis child theme. It has been tested on the Foodie Pro child theme by Shay Bocks in response to the following support request by a member of WP Sites:
Thank you for the simple and easily understood directions. I have this mostly implemented, but am not having my categories showing 4 columns; rather its only showing a full-sized featured image with linked title underneath.
Here’s what this 2nd solution produces:
- The template only displays the featured image and title which you can position before or after the image.
- You can add a excerpt as well if needed
- You can also remove the sidebar so the columns display full width of the content sidebar wrap.
- And you can use the template to display your entries in 2, 3, 4 or 6 columns
Here’s the code you can add to the template to display full width:
//* Force full width content layout
add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' );
And here’s the full width result:
Examples of 2, 3 or 6 columns:
And here’s the code you can add to a new file in your child themes root directory. Name the file using the WordPress Template Hierarchy to control which archives its executed on. In this case, category.php.
Download template code for members:
Was This Tutorial Helpful?