• In the ADMIN area, what I want to do is search posts with content that matches: alt=”” <- sidebar, ignore the magic quotes, mine are the standard html ‘code’ version.

    Basically, I have some posts where I forgot to add an alt attribute to tags.

    Problem is, when I type alt=”” into the search field, it returns a ton of results that do NOT have that in it.

    Note: I suspect that’s because the post/query data gets encoded in some way that confuses the search function.

    Is there some way I should be typing it to show only those posts which have alt=”” in them?

    I’ve tried escaping the quotes. No luck.

    • This topic was modified 3 years, 11 months ago by robin_dean.
Viewing 4 replies - 1 through 4 (of 4 total)
  • There aren’t any options for the admin search. If you use a plugin like Search Regex, you can not only use regular expressions, but do a replacement. Or use the link provided in the search results to edit them individually.

    Thread Starter robin_dean

    (@robin_dean)

    I do have “better search and replace”, though I only want to see the resulting post ids/links.

    … but your saying there’s no “pre-encoded entry” version of my desired search that will produce the intended results, I gather.

    • This reply was modified 3 years, 11 months ago by robin_dean.

    The admin search has a normal input, and does not do regular expressions in the search. Even using alt=\"\" doesn’t work, and alt=\\"\\" doesn’t either.

    Thread Starter robin_dean

    (@robin_dean)

    The “Search Regex” plugin did the trick. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Search Form Problem Results (alt=””)’ is closed to new replies.