• Hello…

    In a site template I’m working on there is no comment.php. I need to have comments available…can I add a comments.php (and where do i get one!) and make comments work? or is there more to it than that?

    thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • comments do not primarily depend on teh existence of comments.php in your theme – a default comments.php will get used.

    try to enable comments through the dashboard settings:

    dashboard – settings – discussion

    and

    dashboard – pages – all pages – click quickedit below a page title – tick ‘enable comments’

    same for posts

    or

    dashboard – pages – edit page – click ‘screen options’ near the top right – tick ‘discussion’ – this will enable a field below the page editor where you can ‘enable comments’

    same for posts

    make sure that single.php and page.php have some code with comments_template(); after the content; http://codex.wordpress.org/Function_Reference/comments_template

    what theme are you working with?

    Thread Starter intcon

    (@intcon)

    it’s a custom theme built for this group of ladies.

    all of the dashboard settings are there, the screen options are there….but when i post a comment the entire page disappears and it redirects to wp-comments-post.php

    there is no comments_template() in single.php and there is no page.php, but there is a home.php with no comments_template in it either…of course there’s also no after the content in home.php either.

    anyone have any thoughts? this is driving me cuh-razy….

    there is no comments_template() in single.php … but when i post a comment

    weird – where do you post the comment, if the there is no ‘comments_template()’ code in your theme?

    have you added any other comment form code to your theme?

    can you post a link to the page where you can post comments?

    Thread Starter intcon

    (@intcon)

    heres the page
    http://smartasswaitress.com/category/news

    and i added this code `<?php global $withcomments;
    $withcomments=1;
    comments_template();?>` to that page to make the comment box show up…

    i’m off to work, will check back this afternoon!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No comment.php’ is closed to new replies.