diff --git a/includes/functions/_helpers-templates.php b/includes/functions/_helpers-templates.php index 3b0ed871..9a0732f4 100644 --- a/includes/functions/_helpers-templates.php +++ b/includes/functions/_helpers-templates.php @@ -2398,7 +2398,7 @@ function fictioneer_render_icon_menu( $args ) { if ( $location === 'in-navigation' && FICTIONEER_SHOW_SEARCH_IN_MENUS ) { $output['search'] = sprintf( '', - esc_url( home_url( '/?s=' ) ), + esc_url( home_url( '/?s' ) ), esc_attr__( 'Search Page', 'fictioneer' ), esc_attr__( 'Link to search page', 'fictioneer' ) ); diff --git a/includes/functions/hooks/_mobile_menu_hooks.php b/includes/functions/hooks/_mobile_menu_hooks.php index c46279e3..b8b22e72 100644 --- a/includes/functions/hooks/_mobile_menu_hooks.php +++ b/includes/functions/hooks/_mobile_menu_hooks.php @@ -385,7 +385,7 @@ function fictioneer_mobile_user_menu() { if ( FICTIONEER_SHOW_SEARCH_IN_MENUS ) { $output['search'] = sprintf( ' %s', - esc_url( home_url( '/?s=' ) ), + esc_url( home_url( '/?s' ) ), __( 'Search', 'fictioneer' ) ); }