Improve Search To Include Uploaded Assets Like Images

  1. Robert Accettura

    It would be nice if search was able to look at things like the title, description, caption of images that were uploaded. For image centric blogs, you can have literally hundreds of pages of content that can't be found via WordPress search.

    This could really go for all uploads, comments etc. And make an option in the admin to select which things should be in the search index:

    • Posts (default)
    • Uploaded Assets (default)
    • Comments (unchecked by default.
    Posted: 7 years ago #
  2. Diogo15

    You can do that by adding a hidden input inside the searchform, with name "post_type" and value "attachment"...

    Posted: 7 years ago #
  3. jontobey

    I can't even find a plug in that does this are there any?

    Posted: 6 years ago #

RSS feed for this topic


You must log in to post.

  • Rating

    4 Votes
  • Status

    This is plugin territory