Support » Plugin: ICS Calendar » List view: location after description

  • Resolved Carsthin

    (@carsthin)


    Hi!

    I might fool myself but I think the location on the list view was previously appearing after the event description, and now is just under the title before the description.
    Either way I’m mistaken or not actually, would that be possible to have an option to display the location at the end, after the description?

    Thank you very much!!
    All best,

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author room34

    (@room34)

    You are correct… I’ve had other requests to move it above which is why I changed it, to try to standardize things more across the views. Unfortunately at this point there’s not an option to change the order, but I’ll look into finding a feasible way to do that.

    Carsthin

    (@carsthin)

    Ahah, I see, there’s either way people who win 😀

    No problem, I guess I’ll adapt to this,
    Thanks!

    Plugin Author room34

    (@room34)

    If you’re willing to drop a bit of JavaScript (jQuery) into your theme, there’s a bit of a hack that could change the order. I think it would be something like this. (I haven’t actually tested this but it’s based on something I’ve used elsewhere.)

    jQuery('.ics-calendar .descloc').each(function() {
      jQuery(this).find('.location').insertAfter(jQuery(this).find('.eventdesc'));
    })
    Carsthin

    (@carsthin)

    Alright I’ll try this. Can you help me to where to copy this?

    Plugin Author room34

    (@room34)

    If you’re using a pre-built theme, it probably would be best/easiest to add this code directly into the page where your calendar shortcode is. You’ll need to switch to Text view to enter the code, and you’ll need to wrap it in <script> and </script> tags.

    Carsthin

    (@carsthin)

    Oh waw 🙂 Seems to work perfectly. Thanks very much! 🙂

    Plugin Author room34

    (@room34)

    Great!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.