Support custom post types inside custom loop
-
Hello
I’m wondering if your plugin can handle ajax calls on comment forms for custom post types that are inside of a custom loop ?I’m using ACF (custom fields) to create a relation between two types of posts (events and sessions).. I added support for wp-comments to the session post-type and through an ACF loop I’m bringing in the session on the Event’s single-template.
I can make the comments for the session show up on the Event’s single-template, but ajax comments don’t work here, they redirect me to the session permalink after submission.In my settings I have enabled “Place scripts in footer”
Here is a screenshot of how where I’ve placed the comments:
https://tecnoimagen.gbcservices.com/wp-content/uploads/2021/08/Screenshot-2021-08-11-143124.jpg
- The topic ‘Support custom post types inside custom loop’ is closed to new replies.