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.
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
Thank you!
The topic ‘Change Default to Downloads when clicking on Search icon’ is closed to new replies.