Tagged: ,

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

    Hi there,

    I use the Advance layout builder to create a post and when i view the post i do not see the comments even though my comments are on and checked within the post. I understand i need to add the comment module to using the ALB. However, is it possible to not use the ALB comments module and then add php code in a file and include comments? I’d rather it be at the bottom of every post by adding php code to a file. I just dont know how to go about adding it and which files to add it to.

    I am using the childs theme as well.

    thanks!
    Chris

    • This topic was modified 8 years, 4 months ago by cward84s.
    #670337

    Hey Chris!

    Please add following code to functions.php file in Appearance > Editor

    add_action('avia_before_footer_columns','avia_single_comment_form');
    function avia_single_comment_form(){
    if(is_single()){
    comments_template();
    }
    }

    Best regards,
    Yigit

    #676628

    Hi Yigit,

    It worked! The comments are in the footer though? Is there a way to put it above the footer and in the main template page?

    thanks,
    Chris

    #676638

    Hey!

    Can you please provide us with a link of the site, so we can identify the issue?

    Thanks a lot

    Cheers!
    Basilis

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.