WordPress.org

Ready to get started?Download WordPress

Forums

Reply link missing path (4 posts)

  1. mckendall
    Member
    Posted 6 years ago #

    At my development site where I work on new themes, I'm having trouble with the 'Leave your comment' link that is on each blog entry.

    Please refer to this post:
    http://dev.mckendall.net/2006/10/13/my-thoughts-on-fatherhood/

    When you mouse over the link you'll see:
    http://dev.mckendall.net/#respond

    Why is the full path missing? I've tried other themes and they work fine. So, I know it's my themes that aren't functioning correctly. Before the upgrade to 2.3 I was certain that these were working as expected.

    Any ideas?

    Thanks in advance.
    - Sean

  2. sasch9r
    Member
    Posted 6 years ago #

    Try to use this code

    <a href="<?php the_permalink() ?>#respond">Leave a comment</a>

    Then it should jump correctly to your comment-form.

  3. mckendall
    Member
    Posted 6 years ago #

    Thanks! That appears to have fixed the problem. However, do you know why I had to do it that way? In many of the themes that I've downloaded, I see that specifying the permalink wasn't necessary.

  4. sasch9r
    Member
    Posted 6 years ago #

    Nope soryr, don't know why ^^

Topic Closed

This topic has been closed to new replies.

About this Topic