Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #280881

    After some searching, I was able to come across this article, which got me partially where I needed to go, but need help making a slight change to it…

    http://kriesi.at/documentation/enfold/how-to-add-an-orderorderby-option-to-the-blogpost-sliderportfoliomasonry-grid-element/

    In that function addendum, it adds the ability to sort by numerous criteria, but is missing one of the ones we need most: event date. How would adapt this function to allow sorting by event start date (from Modern Tribe’s plug-in)?

    #281098

    Hi solarmediapro!

    I’m sorry but “event date” is not a default wordpress orderby/order parameter: http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters – and probably it require some additional tweaking and code customization to query the events based on the “event date”. I suggest to contact the plugin author – maybe they can provide some custom code for free and if not please hire a freelancer who can implement the event date query option.

    Best regards,
    Peter

    #281326

    Is there a way to edit the element/function for an instance or duplicate it so I can affect it without affecting all instances of the full-width masonry element?

    On a different note, my curiosity is if events are supported by the theme, would it not make sense to be able to sort by an event’s date? Otherwise, nothing would ever be in order, unless you either faked a post date, which could mess up all functionality or let things flow willy-nilly. I guess I just does not make sense to me that event dates had anything to do with a post date. The two are completely different types of dates for completely different needs.

    #281377

    Hi!

    The sortby is a WordPress parameter not the theme. That function gives the user the ability to easily tap into the core WordPress function but what you are looking for is to add something new to WordPress.

    Events, as a post type, are supported. How they are viewed by WordPress is: a post type. The date is just some meta data added on that could easily be any other value.

    Best regards,
    Devin

    #281448

    So, my question is how am I able to get a listing like this?

    http://orangecityarts.net/events/category/event/upcoming/

    #281695

    That would be part of how the events plugin by Tribe displays events and has nothing to do with the theme.

    #281731

    Understood.

    Then here is what I need help with. How can I have a single instance (child element?) of a avia element (full-width-masonry) that has specific needs, without it affecting all of the occurrences of full-width-masonry). This way, if custom development was made, it could be limited to one instance and therefore keep the frameworks intact.

    My biggest dilemma is that to achieve this minor change, I run the risk of making the theme un-updatable. Tribe points me to Kriesi, while you point me to Tribe. I know it is not meant to catch me in the middle, but it does. Surely, there has to be a solution to this without it completely breaking the frameworks both companies have built.

    #281932

    Hi!

    To be honest i don’t think we can cover something like that (it’s not a minor change), you’d need to contact a developer to build an element that suits your needs. You can find someone here:
    http://kriesi.at/contact/customization
    http://codeable.io

    Best regards,
    Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Full width masonry sorting abilities’ is closed to new replies.