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

in Download Manager Free

Viewing 4 posts - 1 through 4 (of 4 total)
Jun 30, 2020 at 12:58 pm
#131902
Member
Fred Stuurman
OP

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

Jul 2, 2020 at 12:21 pm
#132045
Keymaster
Shahjada
Staff

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.

Jul 2, 2020 at 12:33 pm
#132047
Member
Fred Stuurman
OP

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.

Jul 2, 2020 at 5:30 pm
#132099
Keymaster
Shahjada
Staff

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.