new style grid

This commit is contained in:
2022-03-29 11:07:00 +03:00
parent 5f13a473b0
commit 1c53718658
7 changed files with 47 additions and 19 deletions

View File

@@ -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>

View File

@@ -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://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://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="soc_btn soc_fb"></div>
@@ -185,10 +182,15 @@
</div>
<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" />
<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 id="footer-contact">
<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>
@@ -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://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://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 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">
<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>

View File

@@ -21,6 +21,24 @@ add_filter( 'pre_site_transient_update_plugins', create_function( '$a', "return
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();
}
}

View File

@@ -6,11 +6,11 @@
<title><?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?></title>
<?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:?>
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=155">
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=163">
<?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">-->
<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>

View File

@@ -62,7 +62,8 @@
<div class="promo-agregators">
<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>
<!--<p><small class="text-muted"><?php the_tags('');?></small></p> -->
<?//endwhile;?>

View File

@@ -1,6 +1,6 @@
<?php
ini_set('display_errors', '1');
//ini_set('display_errors', '1');
//require '/thosts/vij/wp/wp-load.php';
require '/vhosts/beta/wp-load.php';

View File

@@ -579,7 +579,8 @@ a{
color: #F18129;
}
.fulltext a{
.fulltext a{
color: #2D9CDB;
}
@@ -971,15 +972,22 @@ a{
background: #E9EAEB;
}
.promo-agregators a{
color: #2D9CDB;
}
.promo-telega{
font-weight: bold;
text-transform: uppercase;
}
.promo-telega a{
color: #2D9CDB;
}
.promo_ya{
color:red;
font-weight: bold;
}
.wp-block-image IMG{
/** object-fit: cover; */
@@ -1091,6 +1099,7 @@ a{
display: grid;
grid-gap: 2rem;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
/*grid-template-columns: repeat(2, minmax(250px, 1fr));*/
}