customization – Custom Search on media files PDF images pages posts

Question

Hi all – hoping to find a code solution for developing a custom search bar in WordPress that searches for both Posts/Pages but will ALSO search for media files such as PDFs and images. Basically I want the user to be able to type a search query into a custom search bar, and it will return ANYTHING that matches that query (and again it must be able to include pages, posts, AND media files). I’ve seen plenty of videos/tutorials on how to do this for pages/posts but have yet to find any code that deals with combining that with searching also for media files. Does anyone have/know of a proven/working code solution? I do not want to use a plug-in…..thanks all!

0
gg7nMUUU90 3 weeks 2023-01-05T14:54:03-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse