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.