Support » Plugin: Event Rocket » Sticky Events?

  • Hi Barry, really love this plugin. I’m building a second site using your plugin and was asked if there was a way to use the plugin’s embed loop to push a tagged event to the #1 position? I was thinking “The Event Calendar” ‘Sticky in Month View” button could be used (but doesn’t seem to work), or potentially it would display events tagged with “featured” first?

    Any thoughts would be appreciated!

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Barry

    (@barryhughes-1)

    Hi there @jcollette,

    This plugin isn’t actively maintained right now but I’d be happy to provide a few thoughts.

    I was thinking “The Event Calendar” ‘Sticky in Month View” button could be used (but doesn’t seem to work)

    Though this won’t work out of the box it’s probably the sort of approach I would aim for if I wanted to build this as a customization on top of Event Rocket, or even if I was directly building on top of a current release of The Events Calendar.

    Sticky in Month View simply sets the event’s menu_order field to a negative value – making it really useful if you want to float things to the top without hampering pagination, as you could simply add ordering by menu_order as the first ordering criteria in the query.

    In short – very definitely achievable, but it would take a little customization work.

    eventrocket.wordpress.com/2015/07/03/extending-event_embed-with-custom-parameters-12

    The above post may at first not seem to be directly related to your request, but it does provide an example of both adding a custom shortcode parameter (which might be sticky="true" in this case, if you needed that) and then modifying the query in response to that parameter value.

    I hope that gives a few insights 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Sticky Events?’ is closed to new replies.