WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/get comments popup template

Description

Retrieve path of comment popup template in current or parent template.

Checks for comment popup template file comments-popup.php in the current template, if it exists there, or in the parent template. If that fails, it may look for a deprecated default file in wp-includes/theme-compat.

Usage

<?php get_comments_popup_template() ?>

Parameters

None.

Return Values

(string) 
Returns the template path.

Examples

Notes

Change Log

Since: 1.5.0. After 3.0: Default file deprecated.

Source File

get_comments_popup_template() is located in wp-includes/template.php.

Related

See also index of Function Reference and index of Template Tags.