WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Link to bottom of page (3 posts)

  1. Augustorm
    Member
    Posted 6 years ago #

    I am trying to create a link that I can use to open my comments page at the bottom, so that folks don't have to scroll down to leave a quick comment.

    I'm not sure how to open a page container, or page with an ID, to edit and set an anchor.

    Please see http://proudfoto.com/journal/?page_id=10

  2. miromiro
    Member
    Posted 6 years ago #

    <a href="http://proudfoto.com/journal/?page_id=10#respond" title="Leave a comment">Link to comment</a>

    should see you right...

  3. Augustorm
    Member
    Posted 6 years ago #

    Thanks miromiro -

    the "#respond" is just what the doctor ordered. The link is in an xml for a flash gallery and had to understand the process in order to reference the anchor. I opened comments.php in my theme and found:

    <h3 id="respond"><?php _e('Leave a comment',TEMPLATE_DOMAIN); ?></h3>

    Ahah!

Topic Closed

This topic has been closed to new replies.

About this Topic