Tagged: custom field, masonry, sort
-
AuthorPosts
-
April 2, 2015 at 11:52 am #422412
I found the instructions to enable the custom sort: http://kriesi.at/documentation/enfold/how-to-add-an-orderorderby-option-to-the-blogpost-sliderportfoliomasonry-grid-element/
I also found these code snippets: http://kriesi.at/documentation/enfold/change-the-sort-order-of-blog-posts-elements/
But, none of these quite address what I would like to do. Ideally, I want to have a masonry page full of posts sorted on a custom field called “display_order” so I have total control over the sorting process. I am planning on adding a custom field to each post and assigning it a number. I’d like to have the masonry element sort them according to this number. Can you help me out?
Thanks!!
April 2, 2015 at 8:37 pm #422757Hey trellyn!
Currently the Masonry can only sort by categories. What your trying to do would take a lot of time and code to implement so it would have to be considered custom work. You could consider creating a feature request, https://kriesi.at/support/enfold-feature-requests/, and if it gets enough interest then we may see something get added in a future update.
Cheers!
ElliottApril 3, 2015 at 12:42 am #422837Elliott,
Maybe I didn’t explain this right? I have a masonry element displaying posts that are sorted by tags. The page linked below, for instance, shows all posts with the tag of “barcelona.” I want to change the sort order of the posts that are displayed. Currently, the masonry element gives me the choice of ordering by various fields, including: page order, date, title, random, author, etc. I want to add a custom field into that list to orderby. (I’d use the page order field, but since these are posts and not pages, it doesn’t appear that the option is open to me.)
I’m more than willing to accept your answer of “it is custom work,” but based on the reply, it sounded like maybe I used the wrong terminology, making you think I wanted something more complex than what I really need.
Page: http://www.room-ready.com/barcelona-gallery/
I just want to be able to change the order of these posts so that they are listed as: 70″ Display, 80″ Display, 90″ Display, Dual 70″, Dual 80, etc.
Is that still the complex situation you originally described? Thanks!
April 3, 2015 at 9:01 pm #423268Hey!
Oops, sorry, it looks like we got some new functionality in the new update that I wasn’t aware of.
Hmm, since your gallery looks like it does not display any dates what I would do is just have the Masonry order the posts by date and then simply change the date for each post. This way you do not have to keep creating custom fields for your posts and you do not have to edit any files which will need to be redone after each update.
Regards,
ElliottApril 3, 2015 at 9:40 pm #423283Oh HECK YEAH! Why didn’t I think of that? :)
Thank you. As always, the support for this amazing theme is wonderful!
April 4, 2015 at 7:34 am #423380 -
AuthorPosts
- You must be logged in to reply to this topic.