images-portfolio
This commit is contained in:
@@ -85,6 +85,12 @@ function sev_tort_meta_tags() {
|
||||
$robots = ! empty( $page['indexable'] ) ? 'index, follow' : 'noindex, nofollow';
|
||||
printf( '<meta name="robots" content="%s">' . "\n", esc_attr( $robots ) );
|
||||
|
||||
if ( 'politika-konfidencialnosti' === $page['slug'] ) {
|
||||
printf( '<meta name="description" content="%s">' . "\n", esc_attr( 'Политика в отношении обработки персональных данных посетителей сайта sevastopol-tort.ru.' ) );
|
||||
printf( '<link rel="canonical" href="%s">' . "\n", esc_url( home_url( '/' . $page['slug'] . '/' ) ) );
|
||||
return;
|
||||
}
|
||||
|
||||
if ( ! empty( $page['description'] ) ) {
|
||||
printf( '<meta name="description" content="%s">' . "\n", esc_attr( $page['description'] ) );
|
||||
}
|
||||
@@ -100,6 +106,10 @@ function sev_tort_document_title( $title ) {
|
||||
return $title;
|
||||
}
|
||||
|
||||
if ( 'politika-konfidencialnosti' === $page['slug'] ) {
|
||||
return 'Политика в отношении обработки персональных данных';
|
||||
}
|
||||
|
||||
return $page['title'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user