Comments (6)
I also like being able to group exhibits. But it does not order the different groups by the same criteria and I would like to be able to order them by date.
from blockparty.
I'm glad that the plugin is helpful to you! Implementing that kind of sorting will be a bit difficult, since it's not something that's built in to the method that I'm using to gather the items and collections where it'd be relevant. I don't have much time to devote to new feature development now, but if this would be helpful to others please say so! The more people that would benefit the easier it is to devote time to new development.
from blockparty.
I would think it would be, such as being able to sort by Date or Creator or Location. My use case is that I need to sort by a numeric value in an element in my custom item type for the order in which items were shown at events.
from blockparty.
Coming back to say that this is still something I would find really useful. I'd love to be able to sort within an item block by Title or Date or Creator, as well as an arbitrary field.
Maybe a way to integrate item shortcodes?
from blockparty.
It's unlikely that I'll be able to devote time to adding features to this plugin in the foreseeable future. Anyone is welcome to fork this repository to add features or submit a pull request to enable this functionality though.
from blockparty.
Just a comment for anyone looking to implement this... I may be misinterpreting some of the prior messages here, but I did want to point out that get_records
, the function used here to get the items, etc. to display, does support sorting. You pass it the keys sort_field
and sort_dir
along with the other keys used to filter the returned records.
from blockparty.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blockparty.