Search widget goes to page url//?search=xxxx

Viewing 4 posts - 1 through 4 (of 4 total)
#131902

Hi,
When using the WPDM serach widget in the sidebar, when you enter a search argument and press search
it goes to url/?search=xxxx , but the result page wants url/?q=xxxx
I changed line 19 of widget/class.Search.php into:
echo “<div class=’input-group’><input type=text class=’form-control’ name=’q’ />…..

Kind regards Fred Stuurman

#132045

Shahjada
Keymaster

Hi,
Actually, you need to create a custom search result page using shortcode [wpdm_search_result] form the search widget where you only will see download manager files from your search. And the search query arg name is search. So, there is no issue with the widget.

#132047

That is exactly what I have, the page is shown but no search results, only the search bar is shown.
If I change the search argument to q it works.

#132099

Shahjada
Keymaster

Please give me temporary wp-admin login info in a private reply to check your issue,

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Search widget goes to page url//?search=xxxx’ is closed to new replies.