diff --git a/wp-content/themes/dekart/footer.php b/wp-content/themes/dekart/footer.php index da057ed..bdc9f3d 100644 --- a/wp-content/themes/dekart/footer.php +++ b/wp-content/themes/dekart/footer.php @@ -30,7 +30,7 @@
- \n"; + + $gtm_head_default = "\n\n"; + + $gtm_body_default = "\n\n"; + + $footer_default = "\n\n"; + + if (get_option('dekart_counter_yandex') === false) add_option('dekart_counter_yandex', $yandex_default); + if (get_option('dekart_counter_gtm_head') === false) add_option('dekart_counter_gtm_head', $gtm_head_default); + if (get_option('dekart_counter_gtm_body') === false) add_option('dekart_counter_gtm_body', $gtm_body_default); + if (get_option('dekart_counter_footer') === false) add_option('dekart_counter_footer', $footer_default); +} + +function dekart_counters_page() { + ?> +