It´s very easy: Instead of the messy code I added, just add <?php comments_template(); ?> in the page.php where you want the comments to appear.
I tried just adding that <?php comments_template(); ?>
but it messes up the look of the theme. I get an additional grey like added and also the sidebar gets pushed down.
Did you have these issues too? If so how did you resolve them?
Thank you for your help.
sorted it!
The code <?php comments_template(); // Get wp-comments.php template ?>
needed to go directly after <?php endwhile; ?>
That just didn’t work for me
Can someone help me figure this out?
I’m stumped.
Ty
http://www.markgrowden.org/blog
It didn’t work for me either.
does it go after <?php endwhile; ?> or after <?php endwhile; endif; ?>
thanks for any help.
annie
Thank you it solved my query perfectly
(@mixerious)
15 years ago
Hey everybody,
I´m having a big problem with my wordpress Blog http://www.diskaster.de . I´m using the popular elegant-grunge theme, but comments aren´t supported for Pages, only Entries at the main page. So I made a new page.php Template and copied the old one with adding the comments from the single.php
My page.php now looks like this:
When I´m using this template I´m getting this error:
Parse error: syntax error, unexpected $end in /is/htdocs/wp1008248_DQDYVOL00R/www/diskaster/wordpress/wp-content/themes/elegant-grunge/page.php on line 51
I have very limited PHP Skills but I´ve got some good programming skills, so I know some basic php things. Could you please tell me whats wrong? Do i have to put the comment code somewhere else? I Appreciate every help!