new zaglushka
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
//ini_set('display_errors', 0);
|
||||
//error_reporting(E_ALL);
|
||||
//ini_set('display_errors', 1);
|
||||
//error_reporting(E_ERROR);
|
||||
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
|
||||
@@ -12,10 +12,9 @@ require "inc/cache-cleaner-home.php";
|
||||
require 'inc/article-rss-feed.php'; //rss ленты статей по датам
|
||||
require "inc/meta_keywords.php";
|
||||
require "inc/journal_issue.php"; //номера журналов
|
||||
require "inc/rank-description.php";
|
||||
require "inc/rank-description.php"; //подменяем дескрипшт от соцсетей
|
||||
|
||||
//utils
|
||||
require "utils/acf-category.php";
|
||||
require "inc/replace_old_copyright.php"; //подменяем фото для старых картинок с "плохим" копирайтом
|
||||
|
||||
//scheduler
|
||||
require "inc/schedule_async_post_processing.php";
|
||||
@@ -26,7 +25,6 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
|
||||
}
|
||||
|
||||
include "inc/get_cached_alm.php";
|
||||
include "inc/graphql.php";
|
||||
|
||||
if (is_admin()) {
|
||||
require "inc/add_adv_checked.php"; // рекламная статья
|
||||
@@ -2351,7 +2349,7 @@ add_action('wp_head', function() {
|
||||
if (!is_singular()) return;
|
||||
|
||||
$post_id = get_the_ID();
|
||||
$default_image = 'https://cdn.profile.ru/wp-content/uploads/2023/07/profile_lazyload_hq.jpg'; // Заглушка в папке темы
|
||||
$default_image = 'https://cdn.profile.ru/wp-content/uploads/2026/01/zaglushka.jpg'; // Заглушка в папке темы
|
||||
|
||||
$og_image = esc_url($default_image);
|
||||
|
||||
@@ -6111,6 +6109,13 @@ add_filter( 'http_request_args',
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user