Support » Fixing WordPress » Commenting on pages

  • Hi, I’d like to have comments show up prominently in the static pages (e.g. About, etc.) of the site. The WordPress editor lets you click a box “allow comments”, but the option to leave a comment doesn’t actually seem to show up on the page. Is there any way to make the comment field and the received comments show up on the static pages (as opposed to just the blog posts)?

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Mamphey,

    Try putting this:

    <?php comments_template(); ?>

    Where you want the comment box to be in the page.php file.

    would this modification be overwritten after an wordpress upgrade?

    and is there a plugin that can do this?

    would this modification be overwritten after an wordpress upgrade?

    not by a WordPress update, but by an update of your theme.

    and is there a plugin that can do this?

    unlikely – if the suggested code <?php comments_template(); ?> is not in page.php (or whatever template is responsible for showing static pages) then there is nothing for a plugin to hook into.

    what theme are you working with?
    does the theme have a page.php?

    i am working to a real estate theme called – WP Pro Real Estate 4 Responsive WordPress Theme and yes it has a page.php file.

    thanks

    Sam

    Hi Sam,

    Page.php resides in your theme files. It would be overwritten from a theme update, not a WordPress update. You should create a child theme and edit it from there if your theme developer supplies updates for you.

    ok thanks for your help. cheers.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Commenting on pages’ is closed to new replies.