Making WordPress.org

Opened 5 years ago

Closed 8 days ago

#6161 closed defect (bug) (fixed)

Unable to search for Categories

Reported by: kajalgohel Owned by:
Priority: normal Milestone:
Component: Photo Directory Keywords: needs-patch has-screenshots
Cc:

Description

In the photo section page(​https://wordpress.org/photos/), when we trying to search by categories, It is not working properly. I tried to search with objects, arts-culture, animals category name but it's not working.

For better understanding I provide the video link and screenshots.

​https://www.loom.com/share/d23f0f026bb3458a9e9f5e43a55a8573

Attachments (2)

Screenshot 2022-03-03 at 6.50.21 PM.png​ (3.1 MB ) - added by kajalgohel 5 years ago.
Category is shown here.
Screenshot 2022-03-03 at 6.51.54 PM.png​ (887.9 KB ) - added by kajalgohel 5 years ago.

Change History (5)

#1 @coffee2code
5 years ago

  • Priority high → normal

Hi! Thanks for bringing up the issue. It was intentional that categories were not included in search. There are only a handful of them and they are quite broad. You'd be just as well off simply navigating to the archive of the desired category.

The Photo Directory uses the built-in WordPress search, so in general it is quite simplistic and limited in what it can do.

That said, there's no real harm in allowing categories to be included in the search.

Or perhaps we just need to surface the link to the category listing, as well as the tags listing, colors listing, and orientations listing that I think currently only appear when a search fails to return any results (as seen in the second screenshot).

#2 @dd32
5 years ago

  • Summary Search issue found → Unable to search for Categories

#3 @coffee2code
8 days ago

  • Resolution → fixed
  • Status new → closed

After the launch of the block-powered version of the theme in ​2024-12-10, the main taxonomies of the site (categories, colors, orientation) are presented above the photo grid on the front page as filter dropdowns. That seems like it sufficiently exposes the ability to list photos by one or more of those various means. As such, closing this as fixed.

Note: See TracTickets for help on using tickets.