FIX Useless call to dynamiques content
This commit is contained in:
parent
17c66844f7
commit
b18ba728d3
|
|
@ -11,14 +11,7 @@
|
|||
<span><?php echo __('Rechercher', 'homegrade-theme__texte-fonctionnel') ?></span>
|
||||
</button>
|
||||
</div>
|
||||
<?php
|
||||
$lastRevue = $recent_posts = wp_get_recent_posts(array(
|
||||
'numberposts' => 1,
|
||||
'post_type' => 'revues',
|
||||
'post_status' => 'publish',
|
||||
));
|
||||
$lastRevueUrl = get_permalink($lastRevue[0]['ID']);
|
||||
?>
|
||||
|
||||
<ul class="search-module__suggestions">
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user