Home Forums Virtue Theme Modify display for Custom Post Type (CPT)

This topic is: resolved
Resolved
Posted in: Virtue Theme  
  • April 22, 2019 at 4:57 pm #223708

    Hi Team,

    I have a Custom Post Type “post_type=epkb_post_type_1” set up by a plugin. It pulls in the single.php template for displaying posts.

    For this post-type only, I would like to enable comments and disable the bottom carousel. Please can you show me how this can be done using the hooks available in the template? I want to avoid changing the configuration in Dashboard > Theme Options > Blog Options > Blog Post Bottom Carousel Default, for the entire site.

    Even better would be to force the bottom carousel to show only these post-types. Is that possible? If necessary, I am using a child-theme so modification of the template (“templates/content-single.php” -> “templates/content-single-epkb_post_type_1.php”) is a possibility.

    Very many thanks
    Phil.

    Sorry, this forum is for Premium customers only. Please Login to continue

    If you are using a free theme you can access support on wordpress.org by searching for the free theme and using the support tab.