Tag Info

New answers tagged


The following will show the current template file to logged in admins only. If you add to the top of your functions file, you should see this info as the first line. add_action('wp_head', 'show_template'); function show_template() { global $template; global $current_user; get_currentuserinfo(); if ($current_user->user_level == 10 ) ...


You can create a custom post type called blog. This would group all your "blog" posts together. Once you have that done, create a template file called archive-blog.php, this will be the file that you can use to list all your posts under the "blog" custom post type. For a single post view, the template would be single-blog.php. These files would reside under ...

Top 50 recent answers are included