Comment Area at the top of the page

Support Area Forums Authentic Comment Area at the top of the page

Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
URL to the page in question:
  • Author
    Posts
  • #8903
    Robyn
    Participant

    Hi Bill,

    On my guest book page, I would like to keep the Add Your Comment box at the top of the page and submitted comments to appear below.

    I checked the forum and was not able to find the answer…

    Thanks in advance!!

    Robyn

    #8904
    Bill Robbins
    Moderator

    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:

    1. 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.
    2. 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.
    3. Next go to the Appearance section and select Edit.
    4. 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:

    5. 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,
    Bill

    #8908
    Robyn
    Participant

    Trouble 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?

    #8910
    Bill Robbins
    Moderator

    Robyn,

    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,
    Bill

    #8917
    Robyn
    Participant

    I renamed the file to page-id-73.php

    It still, is not updating the page.

    http://servantsofmary.org.previewdns.com/guest-book/

    #8918
    Bill Robbins
    Moderator

    It looks like it is to me. Here’s a quick screenshot:

    http://d.pr/i/WjLF

    Is that different from what you’re seeing?

    #8920
    Robyn
    Participant

    Yes, 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.

    #8921
    Bill Robbins
    Moderator

    I 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.

    #8971
    Robyn
    Participant

    I will try to work around it. Thanks for the offer!

    #9051
    Robyn
    Participant

    Hi 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!

    #9062
    Bill Robbins
    Moderator

    Robyn,

    Strange, but fixable. Add this to your Custom CSS box and see if that doesn’t make line up correctly:

    
    ol#commentlist {
    	clear: both;
    }
    
    #9068
    Robyn
    Participant

    Thanks Bill! You’re the best!

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Comment Area at the top of the page’ is closed to new replies.