From bad196bb3d8443e62c61d623bdb71425c8322dd5 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 14 Feb 2019 17:35:26 -0500 Subject: [PATCH] Add edit and view links to the 'templates used' page --- functions.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index c2b5758..1deadc1 100644 --- a/functions.php +++ b/functions.php @@ -452,14 +452,17 @@ function list_templates_by_type( $type = 'page' ) { if ( $count == 0 ) { $output .= ' Every '. $type .' not listed below has template "Default".

'; $output .= ' '; - $output .= ' '; + $output .= ' '; } $count++; $output .= ''; $output .= ''; - $output .= ''; + $output .= ''; $output .= ''; $output .= ''; + $output .= ''; + $output .= ''; + $output .= ''; } -- 2.17.1
IDNameSlugTemplate
IDNameSlugTemplate
' . $post->ID . '' . $post->post_title . '' . $post->post_title . '' . $post->post_name . '' . get_page_template_slug( $post->ID ) . 'EditView