Featured event – calendar grid view

Home Forums Calendar Products Events Calendar PRO Featured event – calendar grid view

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #28744
    Sandro
    Participant

    I already made allot of customizations to this already awesome calendar plugin 🙂

    1 big change I did was to ditch text links and use images of events instead.
    Now I’m thinking to implement Featured event thingy. So whenever I add tag “featuredevent” to the event post, on the calendar it will be displayed with bigger image.

    With ordinary wordpress posts this would be easy, I would make double loop. First that grabs only featured and second that grabs the rest of the posts.
    But since architecture of events calendar is a bit more complicated than this, I hope you can give me some pointers 🙂

    http://holiday.ge/events/
    ty.

    #28753
    Barry
    Member

    I’m unsure why you’d need to make two passes through the loop – can’t you test on each iteration to see if the event has been marked as featured, then modify the generated markup appropriately?

    #28757
    Sandro
    Participant

    I’d like it to come up at the top of the listing.

    #28762
    Barry
    Member

    So in the context of the month or grid view, you could inspect the $monthview array and pull out what you need before the table is rendered.

    #28814
    Darius
    Participant

    Hey Sandro, I was wondering how exactly did you solved your issue with the multiday event cutoff in Event List view (https://theeventscalendar.com/support/forums/topic/single-day-view-displaying-past-day-events/)

    #28969
    Barry
    Member

    Hi Darius, are we able to help here (or has Sandro contacted you by other means)?

    #28971
    Sandro
    Participant

    Darius, as I’ve noted in that ticket, I solved single day view by this code:
    http://pastebin.com/U6Dp3nBd
    Where $current_url_date is taken from the url.

    I was not able to fix upcoming events list though, is that what you mean?

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Featured event – calendar grid view’ is closed to new replies.