Opened 5 years ago
Closed 4 years ago
#51210 closed feature request (wontfix)
Feature Request: Add isotope by metafizzy for filtering
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | |
Component: | External Libraries | Keywords: | 2nd-opinion |
Focuses: | ui, javascript, css | Cc: |
Description
Hi dev team,
Thank you for the hard work you put into WP. I'm happy to see there's Masonry in WP.
I wish that isotope.metafizzy.co was included as core in wp-includes/js. Meanwhile, Masonry by David Desandro (cool to have) is in there.
The outcome of this feature request:
- Minimize the use of plugins and reduce the external http request and just to name a few cases below
- Add filter functionality by default for whatever the use case are needed for category and tags filters, gutenberg blocks filter option, images and galleries filters, jetpack portfolio filtering for category or tag, pages or posts, or CPT portfolio (non-jetpack).
- Basically; allow theme developers to add isotope.js to their functions.php via wp_enqueue_script.
Currently; I'm not fond of the available solutions in plugins where they overlap in features and other times the documentation is sparse in how-to use, what does it do, and how can it be used. Also, there's no support for filtering image/gallery blocks in WP (just a thought).
So far, here's an article I've known about in how-to implement it since WP v4 (it makes reference to WordPress 3.2 though).
https://getflywheel.com/layout/how-to-add-filters-to-your-wordpress-portfolio/
Any considerations (please 🙏)?
Change History (4)
#1
@
5 years ago
- Component changed from General to Script Loader
- Focuses accessibility docs administration template multisite performance coding-standards removed
- Severity changed from major to minor
#3
@
5 years ago
- Component changed from Script Loader to External Libraries
- Keywords 2nd-opinion close added
Hi @whimsycollective,
Welcome to Trac! Thanks for this suggestion.
Going to provide some brief history on Masonry in WP Core for context. Masonry was introduced into WordPress in [20060] because it was needed for arranging thumbnails on the custom header screen.
Usually, new external libraries are not added to the code base unless there is a need within WordPress for it, or there is significant demand. I'm not sure that I see the use case here based on your description. I'm having a hard time picturing the how the category and tag filtering could work in a theme agnostic manner, and not all themes require filtering. So I'm not sure that is a good feature to add to Core. Also, a portfolio post type is not something supported in WP by default, Jetpack is also maintained externally, and anything block editor related would need to be adjusted through the GitHub repository.
I'm going to suggest this be closed out as a wontfix
, but going to also mark for a second opinion. If I am misunderstanding the suggested use case, @whimsycollective please feel free to add more details to clarify.
@johnbillion thank you for the correction on the focus attributes to this ticket 👍