• Resolved ykf1

    (@ykf1)


    Hello,

    I have a CPT -lets call CPT1, and at the bottom CPT1 I have a loop of CPT2 . I want the comments to be assigned within the loop. I have reasons that has to be done this way.

    I am trying to get the comments to assign to the post they are submitted on (via the loop)

    I have been trying to set the specific ID of the post I want to assign the comments to eg: [wpdiscuz_comments post_id=”{post_id}”] // Using Bricks and {post_id} is correct.

    But it still keeps assigning the comments to CPT1. How can I custom set the post it assigns the comments to?

    • This topic was modified 1 year ago by ykf1.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Not working in a loop’ is closed to new replies.