fix agroexpert links

This commit is contained in:
argoexpert press
2025-04-22 19:14:37 +03:00
parent 5aeb9f4cdb
commit 3d8a4a5054
3 changed files with 39 additions and 2 deletions

View File

@@ -43,8 +43,13 @@
<div class="article-single__content">
<?php
//$content = get_the_content();
$content = apply_filters('the_content', get_the_content());
echo replace_first_figure_in_content($content);
$post_id = get_the_ID();
if ( $post_id == 26011 ) {
the_content();
} else {
$content = apply_filters('the_content', get_the_content());
echo replace_first_figure_in_content($content);
}
//the_content(); ?>
<div class="article-social">Подписывайтесь на нас в <a href="https://dzen.ru/agroexpert_press?favid=254170145" target="_blank">Дзен</a> и <a href="https://t.me/agroexpert_press" target="_blank">Telegram</a></div>
</div>