• I’m adding a new page to my Directory Blog But when I do so it doesn’t have the option for others to comment on the page. It’s under Submit Themes

    Is their a way to allow readers to comment? When I set up the page I allowed comments and Pings but not way of commenting for some reason.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Couple of options for you. I’d recommend making a template using the page.php from your theme. Look around here to find out how to do that if you’re not sure. Right before the end of the Loop, add the following code <?php if (comments_open()) comments_template(); ?>. Use this template for the Submit Themes page.

    Of course, you can add this code to your existing page.php file and be done with it AFTER you make a backup copy of your page.php file in case something goes wrong.

    Thread Starter shortd81

    (@shortd81)

    Thanks worked perfectly. I think atleast tell me if thats fine https://www.premierwebbing.com/directoryblog/submit-themes/

    Looks great. Now you may want to go back into your other pages and turn commenting off as appropriate.

    Now that you’re up and running, I suggest you give template writing a try.

    Corpse Speak: Thank you so much, this work perfectly for me too. Thanks again and keep the good work ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add New Page, But No comments allowed?’ is closed to new replies.