Static home page with “Blog” inside?

wp dashboard > ‘Page’ > add new > name it ‘Home’, publish wp dashboard > ‘Page’ > add new > name it ‘Blog’, publish wp dashboard > Reading Settings > ‘Front page displays’ select ‘a static page’ set ‘Front page’ to ‘Home’ page that you have added > set ‘Posts page’ to ‘Blog’ page that … Read more

Is there a way to visualize / print out which templates were used to render a given piece of UI?

Here is something i use when developing themes: add_filter( ‘template_include’, ‘store_template_file’, 999 ); function store_template_file( $template ){ $GLOBALS[‘current_theme_file’] = basename($template); return $template; } add_action(‘wp_footer’,’print_theme_file’); function print_theme_file(){ if( !isset( $GLOBALS[‘current_theme_file’] ) || is_admin() ) return; echo ‘<!– Current theme file: ‘ . $GLOBALS[‘current_theme_file’] . ‘–>’; } Once you paste that in your theme’s functions.php file it … Read more