Title: php comments script question
Last modified: August 18, 2016

---

# php comments script question

 *  [Jordan Hlebarov](https://wordpress.org/support/users/jdbg/)
 * (@jdbg)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/php-comments-script-question/)
 * Hi,
    I got the following question – from does the <?php comments_popup_script()?
   > gets its js script? I’m asking this because I want to add some more js in there,
   so that with calling the <?php comments_popup_script() ?> I can use it on several
   templates, rather than using an external .js file. 10x in advance

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

 *  [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [21 years, 9 months ago](https://wordpress.org/support/topic/php-comments-script-question/#post-86434)
 * The function comments_popup_script() is located in wp-includes/template-functions-
   comment.php. It contains the javascript in the function itself and does not use
   an external .js file.
 *  Thread Starter [Jordan Hlebarov](https://wordpress.org/support/users/jdbg/)
 * (@jdbg)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/php-comments-script-question/#post-86548)
 * That’s what I needed.
    Thank you very much! 🙂

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

The topic ‘php comments script question’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Jordan Hlebarov](https://wordpress.org/support/users/jdbg/)
 * Last activity: [21 years, 9 months ago](https://wordpress.org/support/topic/php-comments-script-question/#post-86548)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
