Title: Problem with comment template
Last modified: August 21, 2016

---

# Problem with comment template

 *  Resolved [flodi](https://wordpress.org/support/users/flodi/)
 * (@flodi)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/problem-with-comment-template/)
 * I’m trying using the shortcode [comment template=”/gfcomments.php”]
 * I’ve created the file gfcomments.php in the home of my theme, which is a child
   theme (the parent theme is Divi).
 * The php files contains only:
    <section id=”comment-wrap”> <h1>works</h1> </section
   >
 * but on the page with the shortcode I do not see anything.
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

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

 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/problem-with-comment-template/#post-5133213)
 * Hello,
 * Thank you for pointing out this issue. I believe the name of the custom comment
   template was not being passed correctly to the WordPress function. I fixed the
   issue in the latest plugin update, and also added a check for the first “/” in
   the template name.
 * So, now it should work with `[comment template="gfcomments.php"]`. It will check
   the child theme directory first, then the parent theme.
 * Please let me know if that solves it.
 *  Thread Starter [flodi](https://wordpress.org/support/users/flodi/)
 * (@flodi)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/problem-with-comment-template/#post-5133215)
 * First of all. Thank you. For this plugin, which is incredibly useful. And for
   this quick answer.
 * The update works like a charme!
 * Thank you again.
 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/problem-with-comment-template/#post-5133216)
 * Great, I’m happy to hear it. 🙂

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

The topic ‘Problem with comment template’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/problem-with-comment-template/#post-5133216)
 * Status: resolved