Loading header.php +9 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ get_header(); <head> <title> <?php // In certain cases, display a prefix followed by | if(is_home()) { echo 'Blog | '; } elseif(is_search()) { Loading @@ -22,7 +23,15 @@ get_header(); // So, to be on the safe side, we escape it here. echo esc_html(get_the_title($post->ID)).' | '; } // Always show the name of the site bloginfo('name'); // In certain cases, display | followed by a suffix if(is_front_page()) { echo ' | '; bloginfo('description'); } ?> </title> Loading Loading
header.php +9 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ get_header(); <head> <title> <?php // In certain cases, display a prefix followed by | if(is_home()) { echo 'Blog | '; } elseif(is_search()) { Loading @@ -22,7 +23,15 @@ get_header(); // So, to be on the safe side, we escape it here. echo esc_html(get_the_title($post->ID)).' | '; } // Always show the name of the site bloginfo('name'); // In certain cases, display | followed by a suffix if(is_front_page()) { echo ' | '; bloginfo('description'); } ?> </title> Loading