removing the uncoherent services_page_ID

This commit is contained in:
Antoine M 2024-08-07 16:28:02 +02:00
parent 06d565ad20
commit e5ffdec70c

View File

@ -100,9 +100,7 @@ $page_icon = get_field('page_icon', get_queried_object());
<!-- SERVICE -->
<div class="card-large-content__link">
<?php
$services_page_ID_FR = get_field('services_page_ID', 'options');
// $services_page_ID = apply_filters('wpml_object_id', 52, 'page', TRUE);
$services_page_ID = apply_filters('wpml_object_id', $services_page_ID_FR, 'page', false);
$services_page_ID = apply_filters('wpml_object_id', 52, 'page', false);
?>
<img class="card-large-content__link__page_icon" src="<?php echo get_template_directory_uri() . '/resources/img/pictogrammes/pictogramme-services.svg' ?>" alt="">