images-portfolio

This commit is contained in:
2026-07-04 19:20:17 +03:00
parent a20d51db18
commit 0cf3f93567
5 changed files with 182 additions and 28 deletions

View File

@@ -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'];
}