Return to Snippet

Revision: 30725
at August 20, 2010 04:00 by Jamie


Initial Code
global $post;
$page_tempate_name = get_post_meta($post->ID,'_wp_page_template',true);

Initial URL

                                

Initial Description

                                

Initial Title
Get The Current Page Template Name in WordPress

Initial Tags
template, page, wordpress

Initial Language
PHP