Warning: This function has been deprecated. The paged.php template is no longer part of the theme template hierarchy instead.

get_paged_template() WordPress Function

The get_paged_template() function is used to retrieve a template file for the current page. This function is useful for creating custom page templates.

get_paged_template() #

Retrieve path of paged template in current or parent template.


Return

(string) Full path to paged template file.


Top ↑

Source

File: wp-includes/deprecated.php

function get_paged_template() {
	_deprecated_function( __FUNCTION__, '4.7.0' );

	return get_query_template( 'paged' );
}


Top ↑

Changelog

Changelog
VersionDescription
4.7.0The paged.php template is no longer part of the theme template hierarchy.
1.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More