New curation filter in Pattern Directory

The Pattern Directory has been updated with a new filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. to switch between coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.-bundled patterns (“Curated”) and the general community patterns. Combined with the change, the homepage & categoryCategory The 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging. pages default to showing the core-bundled patterns. Community patterns can be seen by switching the filter in the dropdown. Search results and author pages still show all patterns.

Screenshot of the Banners category on the Pattern Directory, focusing on the new navigation with a new dropdown in the top right.

This change also prepares to support the Pattern Explorer in the editor. It’s still in progress, but it will be possible to search through community-submitted patterns directly from the editor. You can follow the work on the pattern explorer issue.

For more details about the filter change, check out the issue to add the filters on GitHub.

Filters in the future

Work continues on the WordPress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ redesign, including the Pattern Directory. The filters and results grid will evolve through the redesign, and discussion is welcome. For example, themes could create pattern bundles, so you could filter patterns by theme. If you have suggestions, the Pattern Directory GitHub is the best place to discuss them.

How can I follow the redesign?

+make.wordpress.org/themes/