ThemeShaper Forums » Thematic

[closed]

Jump to comment box (#respond) from blog index

(3 posts)
  • Started 2 years ago by beth
  • Latest reply from beth
  • This topic is resolved
  1. beth
    Member

    My client wants the comments links to look like this:

    Leave a comment | Read comments

    I can customize '<?php comments_popup_link ?>' for the "Read comments" piece, but is there a way to jump to the comments box (#respond) from the blog index? In looking at the template tags on http://codex.wordpress.org/Template_Tags it doesn't seem that way, but I must be missing something.

    Posted 2 years ago #
  2. thematic's default post footer includes a link to the comments with a hash tag to jump directly to comments.

    its in the thematic_postfooter_postcomments() function. why not just use

    echo get_permalink() . "#comments"';

    like thematic does?

    Posted 2 years ago #
  3. beth
    Member

    That did the trick. Thanks very much!

    <a href="<?php echo get_permalink() . "#respond"; ?>">Leave a comment</a>

    Posted 2 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.