This commit is contained in:
2026-07-04 20:21:21 +03:00
parent 67a262fede
commit 913a186954
10 changed files with 15 additions and 2 deletions

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@@ -178,8 +178,8 @@ get_header();
<p class="home-final__text">Напишите нам в мессенджер или оставьте заявку, чтобы получить 2-3 идеи оформления и ориентир по цене.</p> <p class="home-final__text">Напишите нам в мессенджер или оставьте заявку, чтобы получить 2-3 идеи оформления и ориентир по цене.</p>
</div> </div>
<div class="home-final__actions"> <div class="home-final__actions">
<a class="button-main" href="<?php echo esc_url( sev_tort_telegram_url() ); ?>" target="_blank" rel="noopener noreferrer">Telegram</a> <!-- <a class="button-main" href="<?php echo esc_url( sev_tort_telegram_url() ); ?>" target="_blank" rel="noopener noreferrer">Telegram</a>
<a class="button-link" href="<?php echo esc_url( sev_tort_whatsapp_url() ); ?>" target="_blank" rel="noopener noreferrer">WhatsApp</a> <a class="button-link" href="<?php echo esc_url( sev_tort_whatsapp_url() ); ?>" target="_blank" rel="noopener noreferrer">WhatsApp</a> -->
<a class="button-link" href="<?php echo esc_url( sev_tort_site_phone_href() ); ?>">Позвонить</a> <a class="button-link" href="<?php echo esc_url( sev_tort_site_phone_href() ); ?>">Позвонить</a>
</div> </div>
</div> </div>

View File

@@ -98,6 +98,18 @@ function sev_tort_meta_tags() {
printf( '<link rel="canonical" href="%s">' . "\n", esc_url( home_url( '/' . $page['slug'] . '/' ) ) ); printf( '<link rel="canonical" href="%s">' . "\n", esc_url( home_url( '/' . $page['slug'] . '/' ) ) );
} }
add_action( 'wp_head', 'sev_tort_favicon_tags', 2 );
function sev_tort_favicon_tags() {
$favicon_uri = get_stylesheet_directory_uri() . '/assets/images/favicon/';
printf( '<link rel="icon" href="%s" sizes="any">' . "\n", esc_url( home_url( '/favicon.ico' ) ) );
printf( '<link rel="icon" type="image/png" sizes="32x32" href="%s">' . "\n", esc_url( $favicon_uri . 'favicon-32x32.png' ) );
printf( '<link rel="icon" type="image/png" sizes="16x16" href="%s">' . "\n", esc_url( $favicon_uri . 'favicon-16x16.png' ) );
printf( '<link rel="apple-touch-icon" sizes="180x180" href="%s">' . "\n", esc_url( $favicon_uri . 'apple-touch-icon.png' ) );
printf( '<link rel="icon" type="image/png" sizes="192x192" href="%s">' . "\n", esc_url( $favicon_uri . 'android-chrome-192x192.png' ) );
echo '<meta name="theme-color" content="#fff8f3">' . "\n";
}
add_filter( 'pre_get_document_title', 'sev_tort_document_title' ); add_filter( 'pre_get_document_title', 'sev_tort_document_title' );
function sev_tort_document_title( $title ) { function sev_tort_document_title( $title ) {
$page = sev_tort_current_page_config(); $page = sev_tort_current_page_config();

View File

@@ -7,6 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
<head> <head>
<meta charset="<?php bloginfo( 'charset' ); ?>"> <meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="yandex-verification" content="6aa2286cd1339676" /> <meta name="yandex-verification" content="6aa2286cd1339676" />
<meta name="google-site-verification" content="SxnCqqF2KfMczFG_8EY3r0rTBOglS_DJCi7zsUnVEr0" />
<!-- Yandex.Metrika counter --> <!-- Yandex.Metrika counter -->
<script type="text/javascript"> <script type="text/javascript">
(function(m,e,t,r,i,k,a){ (function(m,e,t,r,i,k,a){