• Resolved jeffwllms

    (@jeffwllms)


    Looking for a way o change he order the opportunities are displayed with the short code. Right now they are listed with the most recent one added n top. We are looking for alphabetical. I would be super annoying to have to change the publish date on every opportunity. And then when we add a new one, we would have to be able to change the publish date to a proper date that would put it in the right sort order.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Wired Impact

    (@wiredimpact)

    The order is a little tricky since it varies for one-time vs. flexible volunteer opportunities. For one-time opportunities, they are listed with the soonest upcoming event at the top. For flexible volunteer opportunities, they are listed by published date like you mentioned.

    If you have someone who is comfortable with code, they can adjust the order the flexible opportunities display in by hooking into the wired-impact-volunteer-management_flexible_opp_shortcode_query filter. If you’d like, we’d be happy to give you a bid to make this happen, but hopefully you all have someone you feel comfortable with.

    Good luck.

    Jonathan
    Wired Impact

    Thread Starter jeffwllms

    (@jeffwllms)

    Ok am having a difficult time finding that

    Thread Starter jeffwllms

    (@jeffwllms)

    Okay, I did find it. It was actually simple enough to edit. I am not super familiar with WordPress. Is there a way to override these things without directly changing the plugin files. As of right now I am guessing my edits go away when I update the plugin.

    Plugin Author Wired Impact

    (@wiredimpact)

    The way to manipulate the code without changing the plugin is by using what are called hooks within WordPress. It’s a developer topic, but if you search for “how to use WordPress filters” you’ll find a ton of articles on how to utilize them within your website. The filter of particular interest for you is wired-impact-volunteer-management_flexible_opp_shortcode_query. Good luck!

    Plugin Author Wired Impact

    (@wiredimpact)

    Since we haven’t heard in a while I’m going to mark this as resolved. Feel free to reach out if you have any additional questions.

    Jonathan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Ability to change the sort order’ is closed to new replies.