# Issues with Raptive Ads

**URL:** <https://meta.discourse.org/t/issues-with-raptive-ads/276128>\
**Category:** WordPress\
**Created:** [August 22, 2023, 3:38am UTC](https://meta.discourse.org/t/issues-with-raptive-ads/276128 "2023-08-22T03:38:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![MiggityMac](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/miggitymac/32/156658_2.png) [@MiggityMac](https://meta.discourse.org/u/MiggityMac)\
**Post date:** [August 22, 2023, 3:38am UTC](https://meta.discourse.org/t/issues-with-raptive-ads/276128/1 "2023-08-22T03:38:56Z")

</div>

I have a head-scratcher that I can’t seem to figure out. From what I see, post id’s are not always syncing across to our Discourse site ([forum.pistolsfiringblog.com](http://forum.pistolsfiringblog.com)) from the Wordpress site ([pistolsfiringblog.com](http://pistolsfiringblog.com)) causing comments to fail loading on the Wordpress posts along with the option to comment (we do not allow WP comments, only Discourse).

A good example is the following post:  
**WP:** [Coleman Scott Joins Oklahoma State Wrestling Staff as Associate Head Coach](https://pistolsfiringblog.com/coleman-scott-joins-oklahoma-state-wrestling-staff-as-associate-head-coach/)  
**Discourse:** [Coleman Scott Joins Oklahoma State Wrestling Staff as Associate Head Coach - #4 by MiggityMac - PFB Articles - The Chamber](https://forum.pistolsfiringblog.com/t/coleman-scott-joins-oklahoma-state-wrestling-staff-as-associate-head-coach/18760/4)

Even though comments are allowed on the post, the post\_id is coming across undefined. I did a little diving into the Discourse Wordpress plugin and it just returns when id is undefined. That’s fine and to be expected. Nothing stood out. However, other posts on the site display comments while others do not. The settings are the exact same as the no-show posts (I’ve intently compared).

If I try to force the id into the webhook call [https://pistolsfiringblog.com/wp-json/wp-discourse/v1/discourse-comments?post\_id=259952](https://pistolsfiringblog.com/wp-json/wp-discourse/v1/discourse-comments?post_id=259952) I get:  
`"\t\t<div class=\"respond comment-respond\">\n\t\t\t<div class=\"comment-reply-title discourse-no-connection-notice\">\n\t\t\t\t<p>Comments are not currently available for this post.<\/p>\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t"`

…Which is completely not true. They are available and they are allowed. For whatever reason beyond me, I can not see my certain posts are not getting a post id to link/relate to the corresponding discourse post so that comments can flow across to WP.

To complicate things, I did a test post as one of our editors would do and watched the entire process from WP post to Discourse and back to WP even with additional comments from Discourse. They all sync’d back to WP on my test post.

I’ve attached screenshots of the main issue (not limited to just one post). Any help is highly appreciated. At this point, I am at a complete loss. ¯\_(ツ)\_/¯

 ![Screenshot 2023-08-21 at 21.52.16](https://global.discourse-cdn.com/meta/original/4X/9/4/7/947829c12d1b51a74901f63e8262c66383f25a91.jpeg)  
 ![Screenshot 2023-08-21 at 21.50.00](https://global.discourse-cdn.com/meta/original/4X/b/1/0/b108afce0d38670b364fbd2f50e4edd8060ba8e5.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/issues-with-raptive-ads/276128)._
