Posted By

Jamie on 08/20/10


Tagged

template page wordpress


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

sofcase


Get The Current Page Template Name in WordPress


 / Published in: PHP
 

  1. global $post;
  2. $page_tempate_name = get_post_meta($post->ID,'_wp_page_template',true);

Report this snippet  

You need to login to post a comment.