WordPress.org

Forums

Add New Page, But No comments allowed? (5 posts)

  1. shortd81
    Member
    Posted 7 years ago #

    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.

  2. lexhair
    Member
    Posted 7 years ago #

    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.

  3. shortd81
    Member
    Posted 7 years ago #

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

  4. lexhair
    Member
    Posted 7 years ago #

    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.

  5. CorpseKeeper
    Member
    Posted 7 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic