Support » Plugin: Disqus Comment System » Disqus plugin should import disqus comment IDs too

  • Resolved archon810


    Please correct me if I’m wrong but right now there’s no way to correlate the local WordPress comment id with the Disqus comment id, is there?

    I’m trying to create the right #links to jump to the right comment on post pages but the problem is, the comments themselves are coming from the local db, and doesn’t jump anywhere since the IDs on the page are the Disqus ones.

    I looked at the wp_commentmeta table, but it looks like Disqus only populates dsq_parent_post_id and dsq_post_id but not dsq_comment_id.

    It’d be fantastic if there was either a way to query the API for the Disqus comment id or it should just get synced to the local db during comment sync.

    Or am I missing something and this is already possible?


    Cross-posted to

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Tyler Hayes


    Comments are known as posts in the Disqus API. Posts (as WordPress calls them) are known as threads in the Disqus API.

    So dsq_post_id is exactly what you’re looking for; that’s the comment ID in Disqus.



    Doh! In my defense, using “posts” for comment IDs in a situation where posts exist is confusing!

    Thanks, Tyler.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disqus plugin should import disqus comment IDs too’ is closed to new replies.