WordPress.org

Ready to get started?Download WordPress

Forums

remove blog entry from comments page (4 posts)

  1. chaz19
    Member
    Posted 9 years ago #

    I just switched to Word press. And I am wondering how to remove my main entry/post from my comments template. My main purpose is that when people come and they will go directly to add a comment page versus having to scroll down to the bottom to add a commet. Thank you for your help.
    http://www.ChazSouthard.org

  2. yami
    Member
    Posted 9 years ago #

    Chaz, a better way to do that might be to use the anchor tag that's already embedded at the top of your comment form. Simply edit your theme's index template to link to #reply instead of #comments. The page will load pre-scrolled, but people can still scroll up if they need to reread something while they write their comment.

  3. chaz19
    Member
    Posted 9 years ago #

    that worked out great, thank you so much for your expertise. Many thanks

  4. samadams
    Member
    Posted 8 years ago #

    I'd like to do the same thing, but I don't see a #reply anchor tag on the comments.php page, and am not sure how to link to an anchor from the index.php page. (I'm using the Gila template theme, so maybe the code is a bit different...)

    My link to Comments is structured like this:

    \\<img src="../media/comment_icon.gif" width="18px" height="15px" alt="comments"><?php comments_popup_link ('No Comments »', '1 Comment »', '% Comments »'); ?> (click to add yours)  <?php edit_post_link('Edit','',''); ?>\\

    Because I don't know PHP, I'm not sure how to construct a link to a #reply anchor tag. Would appreciate it if someone can show me how to do this.

    Also, I'd like to incorporate the comment_icon.gif image into the link, so users can click on that as well to go to Comments. I'm not sure how to integrate that with the PHP code; I took several stabs at it, but it didn't work.

    Any help is much appreciated.

    thanx,

    steve

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.