diff --git a/searchform.php b/searchform.php index 2164b84..6a6e5bd 100644 --- a/searchform.php +++ b/searchform.php @@ -10,22 +10,32 @@ - + 1, + 'post_type' => 'revues', + 'post_status' => 'publish', + )); + $lastRevueUrl = get_permalink($lastRevue[0]['ID']); + ?>