- This topic has 2 replies, 1 voice, and was last updated 8 years, 7 months ago by .
- The topic ‘[post_comments] or 'comment_reply_link' with #ID’ is closed to new replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I'm trying to insert both "Comments" and "Reply" link under every post in my theme. While I know there's a shortcode for the first option, I can't get second one to work. I thought about adding "#respond" id to the link, but don't really know how to do it. Any suggestions? (please don't mind the design on a preview URL, it's my playground).
Maybe I wasn't clear enough. What I'm trying to do is to add such link:
Standard comments link looks like this:
so I can't just add another ID to it.
I don't want to edit standard comment link, but add second one with different ID.
Okay, here's the solution:
<a href="<?php the_permalink(); ?>#respond">Reply</a>
That will create a link directing you straight to reply box.
© 2023 WPEngine, Inc.