• Hello, the first time using the hueman theme, the contents of the page can not be displayed comment box, how to do?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi sofzorg. There was a theme option to enable comments on pages but I can’t find it in the current version. I’ll check with the developer to see what happened to it.

    There is apparently an issue with the theme option. There is a ticket entered for the development team here: https://github.com/presscustomizr/hueman/issues/292

    If you’re running a child theme there is an easy temporary fix by modifying one theme template file. Let me know if you’re interested.

    • This reply was modified 9 years, 9 months ago by bdbrown.
    • This reply was modified 9 years, 9 months ago by bdbrown.

    I’m running a child theme….could you share the easy fix that will allow comments to be seen? Thank you!

    Untested, but try this:

    1. Copy the theme file page.php to your child theme.

    2. Near the bottom of the file change this line:

    <?php if ( hu_is_checked('page-comments') ) { comments_template('/comments.php',true); } ?>

    to this:

    <?php comments_template('/comments.php',true); ?>

    Yes!!! I didn’t try it on page.php because I don’t need it on pages, but it worked on post.php.

    Awesomeness, thank you bdbrown!

    the contents of the page

    That’s why I mentioned page.php. You’re welcome; glad if you got it working. The issue is marked to be included in the next incremental dot release. At that time you can remove the file from your child theme.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Content page does not display comment box’ is closed to new replies.