It’s ok I’ve found the function.
put it in your function.php
<?php add_action('init', 'add_comments_to_projects');
function add_comments_to_projects() {
add_post_type_support( 'projects', 'comments' );
}
?>
replace projects by yourportfolioname
After :
in the single_projects.php or single_yourportfolioname.php
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
endif;
?>
simple.
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been damaged by the forum’s parser.]