Comment Area at the top of the page
Support Area › Forums › Authentic › Comment Area at the top of the page
Tagged: comment area
- This topic has 11 replies, 2 voices, and was last updated 11 years, 2 months ago by Robyn.
-
AuthorPosts
-
January 14, 2013 at 08:44 #8903January 14, 2013 at 09:12 #8904Bill RobbinsModerator
Robyn,
Interesting question…I don’t believe I’ve fielded that one before. What I would suggest doing is making a page template just for that page. Here’s what you’ll want to do:
- First edit your guest book page in your WordPress control panel. While you’re editing the page, look at the URL. The end of it should look something like
post.php?post=3742&action=edit
. In this example the 3742 is the ID of that page. Copy that number. - Next you’ll need to duplicate the page.php file using either your web host’s control panel (the file browser) or a FTP program. Once you’ve duplicated the file, rename the copy page-id.php where you replace the ID with the ID of your page you copied earlier. WordPress will only display those changes on this page.
- Next go to the Appearance section and select Edit.
- From the list of files on your right, choose the page-id.php you just created. Right below this line:
<h1><?php the_title(); ?>
paste this:
- Save your changes.
That should place the comments block at the top of the page, only on your guest book, just below the title.
Have fun and let me know if you run into trouble,
BillJanuary 14, 2013 at 11:46 #8908RobynParticipantTrouble is my middle name, Bill!!
http://servantsofmary.org.previewdns.com/wp-admin/post.php?post=73&action=edit
I duplicated the page.php file and named it 73.php
I added the line and saved and updated it:
It is does not seem to be affecting the page… Did I miss something?
January 14, 2013 at 13:24 #8910Bill RobbinsModeratorRobyn,
Just to make sure did you name it 73.php or page-id-73.php. Make sure it’s page-id-73.php
Let me know how that turns out,
BillJanuary 14, 2013 at 15:02 #8917RobynParticipantI renamed the file to page-id-73.php
It still, is not updating the page. >
January 14, 2013 at 15:05 #8918Bill RobbinsModeratorIt looks like it is to me. Here’s a quick screenshot:
Is that different from what you’re seeing?
January 14, 2013 at 15:19 #8920RobynParticipantYes, your screen shot looks like what I see.
I would like the comment form to always be at the top. Right now, the comments are at the top, above the comment form.
I apologize. I believe a may have I misstated the issue.
January 14, 2013 at 15:31 #8921Bill RobbinsModeratorI understand now. That’s actually not very easy to do with the WordPress commenting system on a per page basis. You would need to change that globally so its affects would be site wide. If you don’t mind that, then let me know and I’ll cook up the changes for you.
January 17, 2013 at 08:40 #8971RobynParticipantI will try to work around it. Thanks for the offer!
January 22, 2013 at 21:03 #9051RobynParticipantHi Bill,
I’m not sure if something I did above, caused this issue.
I have my Comments from my Guest Book page set to go to the most recent.
The alignment is not correct.
The previous comments link is not working and flush left, which makes the comment misaligned and part of the comment is missing as well.
http://servantsofmary.org.previewdns.com/guest-book/
Page one is correct:
http://servantsofmary.org.previewdns.com/guest-book/comment-page-1/It is 9 degrees here, just east of Cleveland. I hope it is warmer where you are. 🙂
Thanks for your help!
January 23, 2013 at 15:23 #9062Bill RobbinsModeratorRobyn,
Strange, but fixable. Add this to your Custom CSS box and see if that doesn’t make line up correctly:
ol#commentlist { clear: both; }
January 24, 2013 at 07:56 #9068RobynParticipantThanks Bill! You’re the best!
- First edit your guest book page in your WordPress control panel. While you’re editing the page, look at the URL. The end of it should look something like
-
AuthorPosts
- The topic ‘Comment Area at the top of the page’ is closed to new replies.