Black Friday! Get up to 25% off GP Premium! Learn more ➝

Reply To: Custom post type template

Home Forums Support Custom post type template Reply To: Custom post type template

Home Forums Support Custom post type template Reply To: Custom post type template

#245759
Tom
Lead Developer
Lead Developer

In your file, find:

<?php get_template_part( 'content', 'single' ); ?>

Now if your file is named content-posttype.php, replace it with:

<?php get_template_part( 'content', 'posttype' ); ?>