• I am in the stages of theme review, using the Theme Unit Test before I submit to the directory. I am on a MAMP local server.
    I am getting this message:

    Notice: Theme without comments.php is deprecated since version 3.0 with no alternative available. Please include a comments.php template in your theme. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 2883

    But there is a comments.php file in my theme and comments do show up on the posts which I put up (just not on ones from the Theme Test Unit). Furthermore, the I am calling the the comments template like so in single.php (these are example div names):

    <wrap-div>
            <banner-div-1 />
    	<?php comments_template(); ?>
            <banner-div-2 />
    </wrap-div>

    and somehow, on the Theme Unit Test posts, the comments are moving up into ‘banner-div-1’…..??

Viewing 1 replies (of 1 total)
  • Thread Starter TheOrfordonian

    (@theorfordonian)

    Ok, just solved the second part. Had to move my if statement inside ‘banner-div-1’.

    But I’m still getting the first message, plus:

    Notice: clean_url is deprecated since version 3.0! Use esc_url() instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 2841

    at the bottom of the comments. Hope someone can help, cheers!

Viewing 1 replies (of 1 total)

The topic ‘WP_DEGUB asking to include comments.php when it's already there?’ is closed to new replies.