This topic has 1 reply, 2 voices, and was last updated 7 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

    Attachments:
    You must be logged in to view attached files.
    #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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

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?