• Resolved lauriepk

    (@lauriepk)


    Hi, thank you for Astra!

    How can I move the comment box directly below the post, rather than at the end of all the comments/replies? Some of my articles have hundreds of comments ??

    Thank you,
    Laurie

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @lauriepk,

    Kindly follow the below steps:

    1] Go to themes\astra\comments.php.

    2] Copy the comments.php file into your child theme.

    3] Inside that file, add <?php comment_form(); ?> after </h3>. Screenshot – https://cl.ly/3a0b70e5cf5b

    4] Now move to the bottom of the file you will see the last line we included above in code (comment_form). As shown in this screenshot – https://cl.ly/ba5d9ff16c18

    5] Modify the code above as shown below.

    <?php if ( ! have_comments() ) : ?>
    	<?php comment_form(); ?>
    <?php endif; // does not have_comments() ?>

    How to Install Astra Child Theme?
    -> Kindly refer to the document from here.

    Regards,
    Sweta

    Thread Starter lauriepk

    (@lauriepk)

    Thank you – I appreciate your help very much!

    – Laurie

    Hello @lauriepk,

    I’m glad it works out for you. ??

    If you need any further help, please do let us know.

    Regards,
    Sweta

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Comment box directly below post?’ is closed to new replies.