• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

[post_comments] or 'comment_reply_link' with #ID

Welcome!

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.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › [post_comments] or 'comment_reply_link' with #ID

This topic is: resolved

Tagged: comments, id, php, reply, shortcode

  • This topic has 2 replies, 1 voice, and was last updated 11 years, 3 months ago by LucaLogos.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 7, 2015 at 1:44 pm #150759
    LucaLogos
    Member

    Hi there!

    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).

    Thanks,
    Luca

    http://lucalogos.com/tester/
    May 8, 2015 at 2:53 am #150866
    LucaLogos
    Member

    Anybody? 🙂

    Maybe I wasn't clear enough. What I'm trying to do is to add such link:
    http://website.com/page/#respond

    Standard comments link looks like this:
    http://website.com/page/#comments
    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.

    Luca

    May 10, 2015 at 10:40 am #151521
    LucaLogos
    Member

    Okay, here's the solution:

    <a href="<?php the_permalink(); ?>#respond">Reply</a>

    That will create a link directing you straight to reply box.

    Thanks,
    Luca

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘[post_comments] or 'comment_reply_link' with #ID’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble