Browser title static homepage wordpress, lost???
Ini bagian dari perjalanan pribadiku bersama wordpress (wp), aku pengen webku front page nya (home page) menggunakan static page atau memilih salah satu page yang ada sebagai front page. Ini saya alami ketika menggunakan tema "Esplanade", ternyata browser title untuk static home page saya tidak muncul. Solusinya, you just add this code to your page.php, rekomendasi diletakkan di posisi paling atas.
Okey bereskan?? hehe,title><?php /* * Print the <title> tag based on what is being viewed. */ global $page, $paged; wp_title( '|', true, 'right' ); // Add the blog name. bloginfo( 'name' ); // Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) echo " | $site_description"; // Add a page number if necessary: if ( $paged >= 2 || $page >= 2 ) echo ' | ' . sprintf( __( 'Page %s' ), max( $paged, $page ) ); ?></title>

Beri Komentar