• 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

Genesis Custom Post Type Archive Grid On Front or Home Page

This simple custom function provides the most efficient solution for displaying custom post types on the front page of your WordPress site.

Register for full access

Display CPT’s In Grid Style

If your theme already includes an archive-portfolio.php file, simply rename the file to home.php or front-page.php.

cpt home grid

Thats all there is to it.

Add a custom function to your child themes functions file and rename your archive-cpt.php file to front-page.php or home.php.

Note: This solution assumes you have used the code from the Executive Pro theme by StudioPress which includes all the PHP files and CSS code to create a custom post type with taxonomy support for any child theme running on Genesis.

Custom Post Type

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