Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #408773

    Hi guys,
    We use multiple footers wich are called in a specific template (page-x.php). We created the templates php files just to call the specific footer.
    This works fine, but on the portfolio pages it does not. We assume the portfolio pages uses this excisting template ‘single-portfolio.php’, where we called our footer: <?php include (‘footer-b.php’); ?>

    Unfortunately our footer is not displayed. We do use the avia laybuilder on the portfolio pages, but on other template pages where the avia layoutbuilder is used the correct footer is called.

    Any idea what might cause this?

    #409669

    Hi hotspot!

    Thank you for using Enfold.

    Did you create the portfolio items using the advance layout builder? If yes, then you need to include the custom footer on the template-builder.php file. Use the is_singular(‘portfolio’) conditional function.

    Regards,
    Ismael

    #409719

    Hi Ismael,

    Thanks so much, that worked!

    Maybe our final code could be of help to other users, we used:
    if ( is_singular(‘portfolio’) ) {
    include (‘footer-b.php’);
    } else {
    get_footer();
    }

    #409874

    Hi!

    Glad we could help you and thank’s for posting your solution.

    Enjoy the theme.

    Cheers!
    Günter

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘template not calling footer’ is closed to new replies.