Title: Support custom post types inside custom loop
Last modified: August 11, 2021

---

# Support custom post types inside custom loop

 *  [promtedcoin64](https://wordpress.org/support/users/promtedcoin64/)
 * (@promtedcoin64)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/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](https://tecnoimagen.gbcservices.com/wp-content/uploads/2021/08/Screenshot-2021-08-11-143124.jpg)

Viewing 1 replies (of 1 total)

 *  [weweave](https://wordpress.org/support/users/weweave/)
 * (@weweave)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/support-custom-post-types-inside-custom-loop/#post-14797171)
 * Hi [@promtedcoin64](https://wordpress.org/support/users/promtedcoin64/),
 * Thanks for your support request and sorry for the late reply. Have you already
   checked our FAQ page [https://weweave.net/products/wp-ajaxify-comments/frequently-asked-questions/](https://weweave.net/products/wp-ajaxify-comments/frequently-asked-questions/).
   Enabling the debug mode should show up some information in the browser console.
 * Hope this helps,
    Jan

Viewing 1 replies (of 1 total)

The topic ‘Support custom post types inside custom loop’ is closed to new replies.

 * ![](https://ps.w.org/wp-ajaxify-comments/assets/icon-256x256.png?rev=2962290)
 * [Ajaxify Comments - Ajax and Lazy Loading Comments](https://wordpress.org/plugins/wp-ajaxify-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ajaxify-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ajaxify-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/)

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [custom loop](https://wordpress.org/support/topic-tag/custom-loop/)
 * [post-type](https://wordpress.org/support/topic-tag/post-type/)

 * 1 reply
 * 2 participants
 * Last reply from: [weweave](https://wordpress.org/support/users/weweave/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/support-custom-post-types-inside-custom-loop/#post-14797171)
 * Status: not resolved