REFACTOR Cleaning files

This commit is contained in:
Nonimart 2025-07-31 14:20:53 +02:00
parent a1a3ced1db
commit 5c43447a3b

View File

@ -4,14 +4,12 @@
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php
// display current blog id
// write_log(get_current_blog_id());
$my_current_lang = apply_filters('wpml_current_language', NULL);
do_action('wpml_switch_language', 'fr');
$pageIcon = get_field('page_icon', 8209) ?? null;
do_action('wpml_switch_language', $my_current_lang);
// write_log($currentLang);
$initialPosts = new WP_Query([
"post_status" => "publish",