SEO by yoast
-
Witam. Mam stronę – takie połączenie one-page ze zwykłą. I mam problem aby ustawić opis seo dla strony głównej. Google pobiera mi opis z pierwszego lepszego tekstu na stronie głównej. Strony home nie mam bo to one page. Jak to można zrobić w SEO by yoast?
W header.php mam takie coś:<title><?php /* * Print the <title> tag based on what is being viewed. */ global $page, $paged; wp_title( '|', true, 'right' ); // Add the blog 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', 'SimpleKey' ), max( $paged, $page ) );?></title>
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- Temat ‘SEO by yoast’ jest zamknięty na nowe odpowiedzi.