From: Laury GvR Date: Thu, 14 Feb 2019 22:35:26 +0000 (-0500) Subject: Add edit and view links to the 'templates used' page X-Git-Tag: v1.0.0^2~95 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=bad196bb3d8443e62c61d623bdb71425c8322dd5;p=WP-Themes%2Fuptravel.git Add edit and view links to the 'templates used' page --- 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 .= ''; }
IDNameSlugTemplate
IDNameSlugTemplate
' . $post->ID . '' . $post->post_title . '' . $post->post_title . '' . $post->post_name . '' . get_page_template_slug( $post->ID ) . 'EditView