WordPress.org

Forums

What is syntax for comment URL (2 posts)

  1. worldview
    Member
    Posted 5 years ago #

    Sorry, simplest thing

    what is URL for comment when using postnae

    I want to sen the URL for a specific comment but cannot get anything I've seen to work like

    domain.com/postname/?c=5818

  2. s_ha_dum
    Member
    Posted 5 years ago #

    You can use get_comment_link(<commentid>) to find the url. Comment links are a little trickier than post links, especially if the comments are paged.

Topic Closed

This topic has been closed to new replies.

About this Topic