new style grid
This commit is contained in:
@@ -1 +1 @@
|
|||||||
<a href="http://vk.com/share.php?url=<?=get_permalink()?>&<?=get_the_title()?>" target="_blank"><i class="fab fa-vk btn_soc_post"></i></a> <a href="https://www.facebook.com/sharer/sharer.php?u=#<?=get_permalink()?>" target="_blank"><i class="fab fa-facebook-square btn_soc_post"></i></a> <a href="https://telegram.me/share/url?url=<?=get_permalink()?>"> <i class="fa fa-whatsapp btn_soc_post"></i> <i class="fab fa-telegram-plane btn_soc_post"></i></a>
|
<a href="http://vk.com/share.php?url=<?=get_permalink()?>&<?=get_the_title()?>" target="_blank"><i class="fab fa-vk btn_soc_post"></i></a> <a href="https://telegram.me/share/url?url=<?=get_permalink()?>"> <i class="fab fa-whatsapp btn_soc_post"></i><i class="fab fa-telegram-plane btn_soc_post"></i></a>
|
||||||
14
footer.php
14
footer.php
@@ -40,11 +40,8 @@
|
|||||||
|
|
||||||
|
|
||||||
<a href="https://vk.com/vizhuvizh" target="_blank"><i style="color: #3B83B5;" class="fab fa-vk btn_soc"></i></a>
|
<a href="https://vk.com/vizhuvizh" target="_blank"><i style="color: #3B83B5;" class="fab fa-vk btn_soc"></i></a>
|
||||||
<a href="https://www.facebook.com/vetandlife/" target="_blank"><i style="color: #3B83B5;" class="fab fa-facebook-square btn_soc"></i></a>
|
|
||||||
<a href="https://t.me/ViZHuvizh" target="_blank"><i style="color: #3B83B5;" class="fab fa-telegram-plane btn_soc"></i></a>
|
<a href="https://t.me/ViZHuvizh" target="_blank"><i style="color: #3B83B5;" class="fab fa-telegram-plane btn_soc"></i></a>
|
||||||
<a href="https://www.youtube.com/channel/UCGRWr7wG8zxFBMMKdPzYPUQ" target="_blank"><i style="color: red;" class="fab fa-youtube btn_soc"></i></a>
|
<a href="https://www.youtube.com/channel/UCGRWr7wG8zxFBMMKdPzYPUQ" target="_blank"><i style="color: red;" class="fab fa-youtube btn_soc"></i></a>
|
||||||
<a href="https://www.instagram.com/vet_and_life/?igshid=14wtpyo4zusm7" target="_blank"><i style="color: orange;" class="fab fa-instagram btn_soc"></i></a>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- <div class="btn soc_vk"></div>
|
<!-- <div class="btn soc_vk"></div>
|
||||||
<div class="soc_btn soc_fb"></div>
|
<div class="soc_btn soc_fb"></div>
|
||||||
@@ -185,10 +182,15 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer_info">
|
<div id="footer_info">
|
||||||
<div id="footer_qr">
|
<!-- <div id="footer_qr">
|
||||||
<img id="img_qr" src = "<?=get_stylesheet_directory_uri()?>/pub/icons/qvij.svg" width="100" height="100" />
|
<img id="img_qr" src = "<?=get_stylesheet_directory_uri()?>/pub/icons/qvij.svg" width="100" height="100" />
|
||||||
<p class="vazh"><?=vij_lang('qrtitle', LANG_VERSION);?></p>
|
<p class="vazh"><?=vij_lang('qrtitle', LANG_VERSION);?></p>
|
||||||
|
</div> -->
|
||||||
|
<div id="footer_qr">
|
||||||
|
<img id="img_qr" src = "<?=get_stylesheet_directory_uri()?>/pub/icons/zen-code.svg" width="100" height="100" />
|
||||||
|
<p class="vazh">"ВиЖ"<br>Яндекс.Дзен</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer-contact">
|
<div id="footer-contact">
|
||||||
<div id="head_tel"><a href="tel:79250634">+7 (495) 925 06 34</a></div>
|
<div id="head_tel"><a href="tel:79250634">+7 (495) 925 06 34</a></div>
|
||||||
<div id="head_mail"><a href="mailto:info@vetandlife.ru">info@vetandlife.ru</a></div>
|
<div id="head_mail"><a href="mailto:info@vetandlife.ru">info@vetandlife.ru</a></div>
|
||||||
@@ -204,16 +206,14 @@
|
|||||||
|
|
||||||
|
|
||||||
<a href="https://vk.com/vizhuvizh" target="_blank"><i style="color: #3B83B5;" class="fab fa-vk btn_soc"></i></a>
|
<a href="https://vk.com/vizhuvizh" target="_blank"><i style="color: #3B83B5;" class="fab fa-vk btn_soc"></i></a>
|
||||||
<a href="https://www.facebook.com/vetandlife/" target="_blank"><i style="color: #3B83B5;" class="fab fa-facebook-square btn_soc"></i></a>
|
|
||||||
<a href="https://t.me/ViZHuvizh" target="_blank"><i style="color: #3B83B5;" class="fab fa-telegram-plane btn_soc"></i></a>
|
<a href="https://t.me/ViZHuvizh" target="_blank"><i style="color: #3B83B5;" class="fab fa-telegram-plane btn_soc"></i></a>
|
||||||
<a href="https://www.youtube.com/channel/UCGRWr7wG8zxFBMMKdPzYPUQ" target="_blank"><i style="color: red;" class="fab fa-youtube btn_soc"></i></a>
|
<a href="https://www.youtube.com/channel/UCGRWr7wG8zxFBMMKdPzYPUQ" target="_blank"><i style="color: red;" class="fab fa-youtube btn_soc"></i></a>
|
||||||
<a href="https://www.instagram.com/vet_and_life/?igshid=14wtpyo4zusm7" target="_blank"><i style="color: orange;" class="fab fa-instagram btn_soc"></i></a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer_2">
|
<div id="footer_2">
|
||||||
<div id="copy">© <?=vij_lang('copyright', LANG_VERSION);?> 2021</div>
|
<div id="copy">© <?=vij_lang('copyright', LANG_VERSION);?> <?=date('Y')?></div>
|
||||||
<ul id="svid">
|
<ul id="svid">
|
||||||
<li><a href="https://vetandlife.ru/wp-content/uploads/2021/11/vij-roskomnadzor.pdf" target="_blank"><?=vij_lang('svid_smi', LANG_VERSION);?></a></li>
|
<li><a href="https://vetandlife.ru/wp-content/uploads/2021/11/vij-roskomnadzor.pdf" target="_blank"><?=vij_lang('svid_smi', LANG_VERSION);?></a></li>
|
||||||
<li><a href="https://vetandlife.ru/wp-content/uploads/2021/10/privacy.pdf" target="_blank"><?=vij_lang('conf_politic', LANG_VERSION);?></a></li>
|
<li><a href="https://vetandlife.ru/wp-content/uploads/2021/10/privacy.pdf" target="_blank"><?=vij_lang('conf_politic', LANG_VERSION);?></a></li>
|
||||||
|
|||||||
@@ -21,6 +21,24 @@ add_filter( 'pre_site_transient_update_plugins', create_function( '$a', "return
|
|||||||
wp_clear_scheduled_hook( 'wp_update_plugins' );
|
wp_clear_scheduled_hook( 'wp_update_plugins' );
|
||||||
|
|
||||||
|
|
||||||
|
#отключаем эмодзи
|
||||||
|
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
|
||||||
|
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
||||||
|
remove_action( 'wp_print_styles', 'print_emoji_styles' );
|
||||||
|
remove_action( 'admin_print_styles', 'print_emoji_styles' );
|
||||||
|
remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
|
||||||
|
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
|
||||||
|
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
|
||||||
|
add_filter( 'tiny_mce_plugins', 'disable_wp_emojis_in_tinymce' );
|
||||||
|
|
||||||
|
function disable_wp_emojis_in_tinymce( $plugins ) {
|
||||||
|
if ( is_array( $plugins ) ) {
|
||||||
|
return array_diff( $plugins, array( 'wpemoji' ) );
|
||||||
|
} else {
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
<title><?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?></title>
|
<title><?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?></title>
|
||||||
|
|
||||||
<?if (defined('TESTMODE') and TESTMODE == 1):?>
|
<?if (defined('TESTMODE') and TESTMODE == 1):?>
|
||||||
<link rel="stylesheet" href="<?php echo get_template_directory_uri();?>/style-test.css?ver=2">
|
<link rel="stylesheet" href="<?php echo get_template_directory_uri();?>/style-test.css?ver=3">
|
||||||
<?else:?>
|
<?else:?>
|
||||||
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=155">
|
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=163">
|
||||||
<?endif?>
|
<?endif?>
|
||||||
<!--<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">-->
|
<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">
|
||||||
<!--<link href="<?php echo get_stylesheet_directory_uri()?>/pub/fontawesome.css" rel="stylesheet">-->
|
<!--<link href="<?php echo get_stylesheet_directory_uri()?>/pub/fontawesome.css" rel="stylesheet">-->
|
||||||
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/jquery-3.6.0.min.js"></script>
|
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/jquery-3.6.0.min.js"></script>
|
||||||
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/golos.js"></script>
|
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/golos.js"></script>
|
||||||
|
|||||||
@@ -62,7 +62,8 @@
|
|||||||
|
|
||||||
<div class="promo-agregators">
|
<div class="promo-agregators">
|
||||||
<p>Свежие отраслевые новости на нашем канале в <span class="promo-telega"><a href="https://t.me/ViZHuvizh" target="_blank">Telegram</a></span></p>
|
<p>Свежие отраслевые новости на нашем канале в <span class="promo-telega"><a href="https://t.me/ViZHuvizh" target="_blank">Telegram</a></span></p>
|
||||||
<p>Добавьте «Ветеринарию и жизнь» в избранное в <a href="https://yandex.ru/news/?favid=254162793" target="_blank"><span style="color:red; font-weight: bold;">Я</span><span style="font-weight: bold; color:black;">НДЕКС.НОВОСТИ</span></a></p>
|
<p>Добавьте «Ветеринарию и жизнь» в избранное в <a href="https://yandex.ru/news/?favid=254162793" target="_blank"><span class="promo_ya">Я</span><span style="font-weight: bold; color:black;">НДЕКС.НОВОСТИ</span></a></p>
|
||||||
|
<p>Подписывайтесь на канал «ВиЖ» в <b><a href="https://zen.yandex.ru/id/5ee3cb4d4954b90c587dec79" target="_blank"><span class="promo_ya">Я</span>НДЕКС.ДЗЕН</a></b></p>
|
||||||
</div>
|
</div>
|
||||||
<!--<p><small class="text-muted"><?php the_tags('');?></small></p> -->
|
<!--<p><small class="text-muted"><?php the_tags('');?></small></p> -->
|
||||||
<?//endwhile;?>
|
<?//endwhile;?>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
ini_set('display_errors', '1');
|
//ini_set('display_errors', '1');
|
||||||
|
|
||||||
//require '/thosts/vij/wp/wp-load.php';
|
//require '/thosts/vij/wp/wp-load.php';
|
||||||
require '/vhosts/beta/wp-load.php';
|
require '/vhosts/beta/wp-load.php';
|
||||||
|
|||||||
17
style.css
17
style.css
@@ -579,7 +579,8 @@ a{
|
|||||||
color: #F18129;
|
color: #F18129;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fulltext a{
|
|
||||||
|
.fulltext a{
|
||||||
color: #2D9CDB;
|
color: #2D9CDB;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -971,15 +972,22 @@ a{
|
|||||||
background: #E9EAEB;
|
background: #E9EAEB;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promo-agregators a{
|
|
||||||
color: #2D9CDB;
|
|
||||||
}
|
|
||||||
|
|
||||||
.promo-telega{
|
.promo-telega{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.promo-telega a{
|
||||||
|
color: #2D9CDB;
|
||||||
|
}
|
||||||
|
|
||||||
|
.promo_ya{
|
||||||
|
color:red;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-image IMG{
|
.wp-block-image IMG{
|
||||||
/** object-fit: cover; */
|
/** object-fit: cover; */
|
||||||
|
|
||||||
@@ -1091,6 +1099,7 @@ a{
|
|||||||
display: grid;
|
display: grid;
|
||||||
grid-gap: 2rem;
|
grid-gap: 2rem;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||||
|
/*grid-template-columns: repeat(2, minmax(250px, 1fr));*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user