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 if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// display current blog id
|
|
||||||
// write_log(get_current_blog_id());
|
|
||||||
|
|
||||||
$my_current_lang = apply_filters('wpml_current_language', NULL);
|
$my_current_lang = apply_filters('wpml_current_language', NULL);
|
||||||
do_action('wpml_switch_language', 'fr');
|
do_action('wpml_switch_language', 'fr');
|
||||||
$pageIcon = get_field('page_icon', 8209) ?? null;
|
$pageIcon = get_field('page_icon', 8209) ?? null;
|
||||||
do_action('wpml_switch_language', $my_current_lang);
|
do_action('wpml_switch_language', $my_current_lang);
|
||||||
// write_log($currentLang);
|
|
||||||
|
|
||||||
$initialPosts = new WP_Query([
|
$initialPosts = new WP_Query([
|
||||||
"post_status" => "publish",
|
"post_status" => "publish",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user