[Resolved] Ding comments to Custom Post types

Home Forums Support [Resolved] Ding comments to Custom Post types

Home Forums Support Ding comments to Custom Post types

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1449866
    Igor

    Hi, I’ve followed one of Tom’s posts but my problem still exists. I have CPT (name: U izborniku) and I want comments on CPT and archives.
    In elements I added hook Generate_after_content, I checked Execute php, under Display rules I set CPT post/archive. Php code I added:

    <span class=”comments-link”>
    <?php comments_popup_link( __( ‘Leave a comment’, ‘generatepress’ ), __( ‘1 Comment’, ‘generatepress’ ), __( ‘% Comments’, ‘generatepress’ ) ); ?>
    </span>

    When I go to CPT I still don’t see comments. Did I miss something?
    URL is: https://www.otvorenipecati.com/
    CPT are menu above in black section.

    Thanks for help…
    Igor

    #1450132
    Leo
    Staff
    Customer Support

    Hi there,

    Can you confirm that you’ve checked to execute PHP?

    #1450329
    Igor

    Hi, yes it is checked…

    Igor

    #1450773
    David
    Staff
    Customer Support

    Hi there,

    are comments enabled for those posts ?

    #1451268
    Igor

    Hi, thanks for your reply, the problem is I don’t see option to enable comments. In quick edit, there is no checkbox like in a normal post.

    Best,

    Igor

    #1451452
    Elvin
    Staff
    Customer Support

    Hi, thanks for your reply, the problem is I don’t see option to enable comments. In quick edit, there is no checkbox like in a normal post.

    You set this on CPT UI.
    https://share.getcloudapp.com/4gu9d8gD

    Once you add the comment support on CPT, you can then enable the comments on the post by checking “Allow comments” on gutenberg sidebar’s document tab.
    https://share.getcloudapp.com/eDuBGKdK

    #1451973
    Igor

    Hi, yes this is enabled…

    #1452946
    Tom
    Lead Developer
    Lead Developer

    Your site seems to be behind a coming soon page. Can you share temp login details in the Private Information field so we can check it out?

    #1453393
    Igor

    Thank you Tom for your time, since I had to solve my problem very quickly, I found another solution and the customer is satisfied. So we will not waste our time with this.
    Thanks again.

    Igor

    #1454134
    Tom
    Lead Developer
    Lead Developer

    Glad you got it sorted 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.