• lt72884

    (@lt72884)


    Here is my website:

    https://grillofmydreams.bluedisk.org

    I have a ton of pages that have recipes, pics and what not. I have noticed that with ALOT of themes there is no option to leave a comment on a page like you can a blog post. Is there a way i can get this feature at all? I have checked options and cant find anything for it.

    Thanx

    Matt

Viewing 8 replies - 1 through 8 (of 8 total)
  • The bit of code you are looking for is likely something very much like:

    <?php comments_template(); ?>

    It needs to be added to your page.php template file.

    If you look in your single.php template file you will likely see a line of code similar to the above. Use the placement in the single.php file as your guide where to add the same code into your page.php file.

    Thread Starter lt72884

    (@lt72884)

    OMG. sooooo sorry. i completly forgot i had this thread. I had so much homework i forgot about my website. Ok so i need to copy the line from single.php (which is the one that allows them to post comments on blog posts) and then paste it into the page.php?

    thanx

    Matt

    Yes, that is the general idea.

    Thread Starter lt72884

    (@lt72884)

    i have never done this so is there an exact spot to paste the code or will any where work?

    thanx

    As I posted above, look in your single.php file and place the code in a similar place in your page.php file … it will likely work placed just before line 15 in page.php

    Thread Starter lt72884

    (@lt72884)

    ok i got part of it to work. Now is there a way that it will not auto post the comment but rather put it in the approve que?

    thanx

    Check your settings in the Dashboard under Discussion …

    Thread Starter lt72884

    (@lt72884)

    Ok thanx. Ill check that out

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Adding comments section to a page’ is closed to new replies.