-
AuthorPosts
-
January 20, 2021 at 2:38 am #1273864
Hiya! I’ve been using Enfold for years and it’s my go-to theme. I’ve come up against something in a current project that I can’t figure out a solution for yet, however.
The project is a language library site. Each book is a Portfolio Item and is in several languages and levels. I’d like to have a page that displays only entries from a certain Book and then have those entries within the gallery be filterable by Language and Level. What I’m trying to avoid is adding hundreds of similar Portfolio Categories, one for each book, say, and just have something like the below, ideally:
Book 01
Book 02
Language A
– Language A – Lvl 01
– Language A – Lvl 02
Language B
– Language B – Lvl 01
– Language B – Lvl 02
And so on…I’d like to be able, for example, to display only items of Book 01in the Masonry Gallery and then be able to filter those items by Language and Level.
My question is: Is it possible to filter and sort by multiple categories/taxonomies simultaneously in a single gallery? Perhaps by adding a custom item to the Filter option dropdown besides Display All Entries and Filter By Date?Thanks in advance for any help you can offer and keep up the good work!
January 21, 2021 at 1:38 pm #1274368Hey BlackThundarr,
Thank you for the inquiry.
How many languages or levels exist in a single book, and will it require a pagination? If there are a lot of levels or languages, then the current taxonomy or category sorting of the Masonry element may not work in this case because it can only sort posts that actually exist in the current page. You may need to look for a third party plugin or a custom solution provided by a third party developer.
Best regards,
IsmaelJanuary 21, 2021 at 4:23 pm #1274431Hey Ismael,
In theory, each book would have multiple languages and up to four levels for each. The goal would be that once the user lands on the Book’s page, they can filter down to the Lang./Lvl they need and go to that book’s individual Portfolio Item to get the actual content. Pagination wouldn’t be a necessity, since the goal would be for the user to quickly sort the books down to the specific one they want and not browse. I would want all languages and levels of each book to display on its “shelf”, however.
I’ve been in communication with the dev of Search and Filter Pro on this, but couldn’t get the plugin to actually work with the Gallery elements, so I reverted to the built-in sorting for sake of the project’s timeline. I think it would do what I want if I could only get the thing to behave!
I know this was a shot in the dark but I thank you for your reply. If you have any ideas, I’m all ears!
– j
January 25, 2021 at 4:22 am #1275167Hi,
Thank you for the info.
This may be possible, but it would also mean creating different categories for each levels and languages for each single book because the sorting option relies on the selected taxonomies or categories, so if you have a hundred books to create, this might mean creating thousands of categories just to make the items much easier to sort.
Example.
Book 1 - First Language Level 1 for Book 1 - First Language Level 2 for Book 1 - First Language Level 3 for Book 1 - First Language Level 4 for Book 1 - Second Language Level 1 for Book 1 - Second Language Level 2 for Book 1 - Second Language Level 3 for Book 1 - Second Language Level 4 for Book 1 Book 2 .... same as above
Or
Book 1 - Level 1 for Book 1 - Level 2 for Book 1 - Level 3 for Book 1 - Level 4 for Book 1 Book 2 ....
Or
Book 1 – First Language for Book 1 – Second Language for Book 1 – Third Language for Book 1 – Fourth Language for Book 1 Book 2 ….
Unfortunately, the ordering option in the Masonry and Portfolio element is quite limited and is usually used only for first level sorting. Looking for a third party extension or a custom solution would be a much better direction.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.