Okay
  Public Ticket #1345115
Custom Post Type Templates
Closed

Comments

  • Nathan started the conversation

    Hey Salient! 


    I'm creating a custom post type for my client to create a 'Recipes' section on the website. I've set up the custom post type using Custom Post Type UI and Advanced Custom Fields. 

    I've created a file called single-jays_recipes.php for the post styling on the front end and taken the code from single.php plus added a few extra lines to pull in the extra fields on the post. 

    Where I need help: 

    1. I want the blog post to use the right hand blog side bar, can you show me how to turn this on in the file single-jays_recipes.php, I see that it is hidden at the moment, but my knowledge of php isn't good enough to fix this.

    2. I want my custom post type to use the Page Header Settings found on the standard salient blog posts when creating a post. Could you advise on how I could get this feature in my custom post type? 

    I've attached my .php file below if you wanted to look. 

    Many Thanks,

    Nathan. 

  •  9,016
    Tahir replied

    Hey Again,

    I am afraid we dont have any such code guidelines available so you will likely have to resort to a Freelance Developer over at Envato Studio . 

    Be.st


    ThemeNectar Support Team