Showing Comments on Custom Post Types

Community Forums Forums General Discussion Showing Comments on Custom Post Types

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  braddalton 10 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #85700

    aa_EVA
    Participant

    Hi

    I am trying to show the comment form on single custom post type by default, but I can’t get it to work. I am using an HTML genesis child theme – I have

    1) added

    ‘supports’ => array(‘title’,’editor’,’thumbnail’, ‘genesis-seo’,’comments’)
    to the $args for my register post type

    2) I have added the wordpress comments_template( ”, true ); function to my cpt single template.

    If I manually check the box on the custom post editor – 2 comment boxes will show (due to 2)above I am assuming) but if I don’t check it on every instance of the post, nothing shows – I am assuming that Genesis is somehow over-riding it, because I have only ticked posts to have comments in the Genesis Admin settings (there is no checkbox for my cpt).

    Any suggestions as to what I have missed / done wrong etc?

    Thanks
    Anne

    http://tamsinstable.com.au/recipe/borage-mint-and-pistachio-ravioli/
    #85724

    braddalton
    Participant
    Post count: 10577
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.