This tutorial provides one method which enables you to display your featured image on single CPT’s in any Genesis child theme.
All you need to do is create a new file in your themes root directory using these instructions and PHP code.
- Simply create a new file using a code editor like Notepad++
- Copy the PHP code from the view raw link in the Gist labelled single-portfolio.php
- Name the file single-cpt-name.php, replacing cpt-name with the name of your custom post type.
- Upload the file to your child themes root directory.
This post answers this forum question:
I’ve created a custom post type for my site (I’m using the Agent Press Pro theme) and I’d like to have the featured image attached generate an automatic image insert on my single portfolio pages, much the way LISTINGS does within this theme.
Was This Tutorial Helpful?