diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..8d6a7eb Binary files /dev/null and b/favicon.ico differ diff --git a/wp-content/themes/sevastopol-tort-child/assets/images/favicon/android-chrome-192x192.png b/wp-content/themes/sevastopol-tort-child/assets/images/favicon/android-chrome-192x192.png new file mode 100644 index 0000000..e8200f1 Binary files /dev/null and b/wp-content/themes/sevastopol-tort-child/assets/images/favicon/android-chrome-192x192.png differ diff --git a/wp-content/themes/sevastopol-tort-child/assets/images/favicon/apple-touch-icon.png b/wp-content/themes/sevastopol-tort-child/assets/images/favicon/apple-touch-icon.png new file mode 100644 index 0000000..da28758 Binary files /dev/null and b/wp-content/themes/sevastopol-tort-child/assets/images/favicon/apple-touch-icon.png differ diff --git a/wp-content/themes/sevastopol-tort-child/assets/images/favicon/favicon-16x16.png b/wp-content/themes/sevastopol-tort-child/assets/images/favicon/favicon-16x16.png new file mode 100644 index 0000000..8d4ebeb Binary files /dev/null and b/wp-content/themes/sevastopol-tort-child/assets/images/favicon/favicon-16x16.png differ diff --git a/wp-content/themes/sevastopol-tort-child/assets/images/favicon/favicon-32x32.png b/wp-content/themes/sevastopol-tort-child/assets/images/favicon/favicon-32x32.png new file mode 100644 index 0000000..6dabb31 Binary files /dev/null and b/wp-content/themes/sevastopol-tort-child/assets/images/favicon/favicon-32x32.png differ diff --git a/wp-content/themes/sevastopol-tort-child/assets/images/favicon/favicon-48x48.png b/wp-content/themes/sevastopol-tort-child/assets/images/favicon/favicon-48x48.png new file mode 100644 index 0000000..c982a17 Binary files /dev/null and b/wp-content/themes/sevastopol-tort-child/assets/images/favicon/favicon-48x48.png differ diff --git a/wp-content/themes/sevastopol-tort-child/assets/images/favicon/favicon.ico b/wp-content/themes/sevastopol-tort-child/assets/images/favicon/favicon.ico new file mode 100644 index 0000000..8d6a7eb Binary files /dev/null and b/wp-content/themes/sevastopol-tort-child/assets/images/favicon/favicon.ico differ diff --git a/wp-content/themes/sevastopol-tort-child/front-page.php b/wp-content/themes/sevastopol-tort-child/front-page.php index 86accf0..16d823b 100644 --- a/wp-content/themes/sevastopol-tort-child/front-page.php +++ b/wp-content/themes/sevastopol-tort-child/front-page.php @@ -178,8 +178,8 @@ get_header();

Напишите нам в мессенджер или оставьте заявку, чтобы получить 2-3 идеи оформления и ориентир по цене.

- Telegram - WhatsApp + Позвонить
diff --git a/wp-content/themes/sevastopol-tort-child/functions.php b/wp-content/themes/sevastopol-tort-child/functions.php index de50a68..37f8281 100644 --- a/wp-content/themes/sevastopol-tort-child/functions.php +++ b/wp-content/themes/sevastopol-tort-child/functions.php @@ -98,6 +98,18 @@ function sev_tort_meta_tags() { printf( '' . "\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( '' . "\n", esc_url( home_url( '/favicon.ico' ) ) ); + printf( '' . "\n", esc_url( $favicon_uri . 'favicon-32x32.png' ) ); + printf( '' . "\n", esc_url( $favicon_uri . 'favicon-16x16.png' ) ); + printf( '' . "\n", esc_url( $favicon_uri . 'apple-touch-icon.png' ) ); + printf( '' . "\n", esc_url( $favicon_uri . 'android-chrome-192x192.png' ) ); + echo '' . "\n"; +} + add_filter( 'pre_get_document_title', 'sev_tort_document_title' ); function sev_tort_document_title( $title ) { $page = sev_tort_current_page_config(); diff --git a/wp-content/themes/sevastopol-tort-child/header.php b/wp-content/themes/sevastopol-tort-child/header.php index dde452e..d5df24f 100644 --- a/wp-content/themes/sevastopol-tort-child/header.php +++ b/wp-content/themes/sevastopol-tort-child/header.php @@ -7,6 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) { +