How to enable comments on portfolio posts?

Edit file includes/portfolio-types.php - line 41 which looks like this:

'supports' => array( 'title', 'editor', 'thumbnail', 'custom-fields', 'excerpt', 'page-attributes') // add 'comments' if needed

like in comment - add 'comments' at the end so it will look like this ( copy and paste below line and overwrite original )

'supports' => array( 'title', 'editor', 'thumbnail', 'custom-fields', 'excerpt', 'page-attributes', 'comments') // add 'comments' if needed

After this new option called discussion will be visible for each portfolio post.