Title: Custom theme-comments.php file
Last modified: August 31, 2016

---

# Custom theme-comments.php file

 *  [invaderB](https://wordpress.org/support/users/invaderb/)
 * (@invaderb)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-theme-commentsphp-file/)
 * Greetings,
 * In the functions.php file on line 21 there is require_once(dirname(__FILE__) .“/
   includes/theme-comments.php”); //Theme comment functions, is there a way to undeclare
   this and add my own custom theme-comments.php in my child theme functions.php?

Viewing 1 replies (of 1 total)

 *  [thezedt](https://wordpress.org/support/users/thezedt/)
 * (@thezedt)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-theme-commentsphp-file/#post-6931470)
 * Not without editing that line, no.
 * But many of the functions are plugabble in the child theme (and plenty are hooked
   in place so they can be removed and replaced).
 * Which functionality are you trying to customize?

Viewing 1 replies (of 1 total)

The topic ‘Custom theme-comments.php file’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/mantra/3.3.4/screenshot.png)
 * Mantra
 * [Support Threads](https://wordpress.org/support/theme/mantra/)
 * [Active Topics](https://wordpress.org/support/theme/mantra/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/mantra/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/mantra/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [thezedt](https://wordpress.org/support/users/thezedt/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/custom-theme-commentsphp-file/#post-6931470)
 * Status: not resolved