Support » Theme: Lightning » Comment box disappears after theme update

  • Updated the page.php file with the following code as per your suggestion

    <?php comments_template( ”, true ); ?>

    The comment box however disappears after each theme update. Do I have to add this code after each update?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Syntax is error on your code, please make it correct like this.
    <?php comments_template('true'); ?>

    If not work let me know. I will try solving you by other way too.

    Thanks

    Thank you, The comment box is there. I will give you a feedback after the next update.

    Hi

    Just did an update and the comment box disappeared again.

    Any other way to fix this?

    Thanks

    If you edit the theme files directly, you’ll lose those changes if you update the theme. Instead, you should make a child theme, copy page.php from the parent theme’s folder to the child theme’s folder, and then make your changes in the child theme’s version of the file. That way, your changes will be protected if the theme is updated in the future.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Comment box disappears after theme update’ is closed to new replies.