revert images-portfolio
This commit is contained in:
2026-07-04 20:02:01 +03:00
parent 9a24c53b8e
commit 9f27af8ee0
5 changed files with 28 additions and 182 deletions

View File

@@ -85,12 +85,6 @@ 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'] ) );
}
@@ -106,10 +100,6 @@ function sev_tort_document_title( $title ) {
return $title;
}
if ( 'politika-konfidencialnosti' === $page['slug'] ) {
return 'Политика в отношении обработки персональных данных';
}
return $page['title'];
}