Title: Comments in projects
Last modified: August 30, 2016

---

# Comments in projects

 *  Resolved [mattmaldre](https://wordpress.org/support/users/mattmaldre/)
 * (@mattmaldre)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/comments-in-projects/)
 * Is it possible to enable comments for projects?
 * [https://wordpress.org/plugins/projects-by-woothemes/](https://wordpress.org/plugins/projects-by-woothemes/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Emmanuel Gomila](https://wordpress.org/support/users/emmanuel-gomila/)
 * (@emmanuel-gomila)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/comments-in-projects/#post-6575510)
 * Same question :
    Is it possible to enable comments for projects ?
 *  [Emmanuel Gomila](https://wordpress.org/support/users/emmanuel-gomila/)
 * (@emmanuel-gomila)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/comments-in-projects/#post-6575513)
 * 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.]_
 *  Thread Starter [mattmaldre](https://wordpress.org/support/users/mattmaldre/)
 * (@mattmaldre)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/comments-in-projects/#post-6575515)
 * Thank you, Emmanuel!
 *  [customle](https://wordpress.org/support/users/customle/)
 * (@customle)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/comments-in-projects/#post-9118828)
 * I tried the above code but it did not work. Maybe because that was a year ago
   and the new WP isn’t compatible??? I really want comments in the single page 
   projects. Please advise.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Comments in projects’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/projects-by-woothemes_d2e5ef.svg)
 * [Projects by WooThemes](https://wordpress.org/plugins/projects-by-woothemes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/projects-by-woothemes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/projects-by-woothemes/)
 * [Active Topics](https://wordpress.org/support/plugin/projects-by-woothemes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/projects-by-woothemes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/projects-by-woothemes/reviews/)

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)

 * 4 replies
 * 3 participants
 * Last reply from: [customle](https://wordpress.org/support/users/customle/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/comments-in-projects/#post-9118828)
 * Status: resolved