Okay
  Public Ticket #582793
How to make custom single.php file editable in backend
Closed

Comments

  • Richard started the conversation

    We are using Advanced Custom Fields to enable custom posts (courses available in a holiday package).

    We would like to use the standard WP template hierarchy to display each post (ie. single-courses.php).

    We have already adapted the single.php in our child theme to account for this:

    elseif(get_post_type() == 'courses'){
    include('single-courses.php');
    }

    However, our client wants to be able to change the appearence of single-courses.php himself. How do we now make single-courses.php editable with Visual Composer?

    Many thanks,
    R


  •  895
    TheFox replied

    Hello Richard,

    Unfortunately this is not possible,

    You can make the visual composer available to edit the post content but you can\'t make the all page be editable with the visual composer if you used the single-default.php file as base.

    To enable the visual composer for the custom post you can do it from the Visual composer tab.

    Do not hesitate to contact us if you have other questions.

    Regards