Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #579701

    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 ?

    Please help.

    #580140

    Hi zinzoze!

    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/

    Cheers!
    Ismael

    #581436

    Yes ,I use the advance layout builder to build the post .what should I do to display custompost with advance-custom-field like this at course infomation? If I can display it,How can I do it? thank you
    please help ^.

    • This reply was modified 2 years, 8 months ago by  zinzoze.
    #581477

    Hi!

    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

    Regards,
    Basilis

    #992843

    It doesnt work as the advanced layout builder is enabled.

    Disable of the advanced menu, the single-customposttype.php is working again.

    #992853

    Hi,

    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.

    Best regards,
    Dude

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Does Enfold theme support custom post type template ? eg. single-couse.php’ is closed to new replies.