Главная
0+
DEBUG home parent_id: ' . $parent_id . ''; echo '
DEBUG current_series_id: ' . get_query_var('current_series_id') . '';
echo 'DEBUG page_on_front: ' . get_option('page_on_front') . '';
echo 'DEBUG post->ID: ' . get_the_ID() . ''; set_query_var('current_series_id', $parent_id); get_template_part('template-parts/series-list');