Change Default to Downloads when clicking on Search icon

in Download Manager Free

Viewing 4 posts - 1 through 4 (of 4 total)
Nov 3, 2022 at 9:25 pm
#180005
Participant
Cheryl Smith
OP

When I click on the search icon on the green bar, it opens up a search bar with the option to select Post, Page, or Download. See the image: https://library.countrysidevillageretire.com/wp-content/uploads/2022/11/RVT-search.png

It defaults to Post, but I want it to default to Downloads. How can I do that?
I can see in the code (see image https://library.countrysidevillageretire.com/wp-content/uploads/2022/11/RVT-search-code.png) that the first option has checked=”checked” and I think if that gets moved to the third option it will solve my issue.

Nov 4, 2022 at 6:11 pm
#180040
Spectator
Tanvir

Hello Cheryl,

Thanks for contacting us. Yes you are right.

The popup is being controlled from footer.php . If input checked="checked" then the related post type will be selected. So you can move it up or just replacing the checked will solve the issue.

However, I would always suggest to use child theme for any change of codes. Otherwise the changes will be removed.

Regards
Tanvir

Nov 4, 2022 at 6:17 pm
#180042
Participant
Cheryl Smith
OP

Thank you!

Nov 5, 2022 at 1:15 pm
#180071
Spectator
Tanvir
This reply has been marked as private.
Viewing 4 posts - 1 through 4 (of 4 total)

The topic "Change Default to Downloads when clicking on Search icon" is closed to new replies.