REFACTOR Cleaning files
This commit is contained in:
parent
a1a3ced1db
commit
5c43447a3b
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user