Tagged: Custom Post Type
I would like to display custom fields for the custom post type. I try to create single-course.php (post type which is not built-in in Enfold theme ) but It seems Enfold Theme ignore this file.
I just want to confirm that Does Enfold theme support custom post type template ?
If It support, Is there any documentation or example can I get ?
Thank you for using Enfold.
Did you use the advance layout builder to build the post? If not, the template should work. This link might be helpful: https://developer.wordpress.org/themes/basics/template-hierarchy/
Making the file as single-courses should work, as it works for other things, like events etc.
Are you sure that the custom post type name is the correct one?
Thanks a lot
It doesnt work as the advanced layout builder is enabled.
Disable of the advanced menu, the single-customposttype.php is working again.
Yes custom post type templates do not support the advanced layout builder. If you’re an experienced developer you can dig into the code and add support for your templates however we can’t assist with such customizations. I’ll close this thread now because it was started 2016.
The topic ‘Does Enfold theme support custom post type template ? eg. single-couse.php’ is closed to new replies.