13 reputation
13
bio website
location
age
visits member for 2 years
seen Mar 20 at 21:16
stats profile views 11

Sep
27
awarded  Notable Question
Mar
28
comment How can I edit the Twenty Ten Theme to remove the comments box when a page uses a specific template?
Drake, sorry this is so late in coming, but I'm unable to vote up because of my "reputation" (I've got less than 15.) Thanks again for your help, though!
Nov
5
awarded  Popular Question
Jun
4
awarded  Scholar
Jun
4
accepted How can I edit the Twenty Ten Theme to remove the comments box when a page uses a specific template?
Jun
4
comment How can I edit the Twenty Ten Theme to remove the comments box when a page uses a specific template?
Great! I think that does the trick. Thanks, Drake.
May
30
awarded  Student
May
26
comment How can I edit the Twenty Ten Theme to remove the comments box when a page uses a specific template?
@Michael, again, thanks for the note. I did change them to single quotes, but I still have the same problem. When I just have this part of the code, comments disappear, which is what I want: <?php wp_reset_query(); if ( is_page_template(‘basic-template.php’) ) { comments_template(); } ?> However, when I put in the "Else" statement, comments appear again, even though I'm using the basic-template.php. I think there's something wrong with my "Else" statement. Any thoughts?
May
25
comment How can I edit the Twenty Ten Theme to remove the comments box when a page uses a specific template?
I appreciate your response, but I am looking for a solution that removes the comment box as well as the "Comments Closed" message from a specific page template every time. PHP is the only way I can see to do this. If you've got a fix for that, please do let me know. Thanks!
May
25
comment How can I edit the Twenty Ten Theme to remove the comments box when a page uses a specific template?
@Michael, thanks for your post. Unfortunately, that didn't do the trick. I have used the code above in place of <?php comments_template( '', true ); ?> for these TwentyTen files: loop.php, loop-page.php, loop-single.php. It has no effect. My basic template references get_template_part( 'loop', 'index' ); Is my replacement code right?
May
24
asked How can I edit the Twenty Ten Theme to remove the comments box when a page uses a specific template?