Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #700435

    So I’d like for my custom projects, to be able to use advance layout builder and yet still be able to customise them. I’ve added this to the top of my template builder:

    if(is_singular( ‘projekti’ )){
    include ‘http://marko.delavec.si/u3nek/wp-content/themes/enfold-child/single-projekti.php’;
    exit();
    }

    but it doesn’t seem to work. Could I get any suggestion on how to fix this?

    Or would it maybe be better to simply add if is singular 2 times in the main template builder? I mean I want to add 1 element on top directly under header and then 1 on the bottom of the site just before the footer.

    • This topic was modified 7 years, 6 months ago by Zigabeton.
    #701021

    Hey Zigabeton,

    Where are you adding that code?

    Best regards,
    Rikard

    #701527

    Never mind I already figured it out.

    I was adding it at the top of template-builder.php in the child theme

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Adding custom template to template builder’ is closed to new replies.