This topic has 1 reply, 2 voices, and was last updated 9 years by Laura.

  • Author
  • #148711
     Whoweez
    Participant

    Good day,

    How can I add comments on custom post type?

    What I’ve achieved so far was to include the following in my CPT template:

    <?php if ( sq_option( ‘portfolio_comments’, 0 ) == 1 ) : ?>

     

    <!– Begin Comments –>

    <?php

    if ( comments_open() || get_comments_number() ) {

    comments_template( ”, true );

    } ?>

    <!– End Comments –>

     

    <?php endif; ?>

     

    AND THEN ENABLE COMMENTS FOR PORTFOLIO ITEMS IN THEME SETTINGS

    But the css of comments section is all screwed up (see screenshot)

    Your assistance is appreciated 🙂

    Rgds,

    Wzzz

    #148815
     Laura
    Moderator

    Hello, i could take a look if it were online, do you have any online preview?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?