Placeholder image

Home Forums Calendar Products Events Calendar PRO Placeholder image

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1165009
    Marlene Hassel
    Participant

    About a month ago I asked if there was a way to have a category preselected when creating a new event, and got a nice function with a jQuery script that did just that.

    Now I’d like to have the image preselected as well, or if possible, show a default image if the user doesn’t select one when creating the event.

    Can you help me with that?

    #1165175
    Geoff
    Member

    Hi Marlene and welcome back!

    I really wish there was a similar sort of jQuery script we could provide, but I’m afraid that it would take quite a bit more custom development to pre-select an image when creating a new event, just because of the nature of how it would need to interact with the WordPress media library.

    We do have a list of freelancers who may be able to help with this level of customization but I’m sorry to say we are unable to create that feature here in the forums.

    Sorry I don’t have more of a concrete solution for you here, but does this at least help answer your question? Please let me know.

    Thanks,
    Geoff

    #1168641
    Marlene Hassel
    Participant

    Is there a hook that can run a function when putting each event in the photo view?
    If so, maybe that could be used to check if the event has a featured image, and if not, echo one?

    #1168720
    Geoff
    Member

    Hi Marlene,

    We do have the following filters for featured image, but I’m afraid that none of them does a specific check for whether an event has a featured image.

    What you might be able to do is use the WordPress has_post_thumbnail() hook to check for an image and then use the calendar’s hooks from there? The featured image for events uses the same functions as default WordPress posts, so that should give you something to work with.

    I’ll go ahead and close this thread since I see it was marked Resolved, but let us know if any other questions come up and we’d be happy to help as best we can.

    Cheers!
    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Placeholder image’ is closed to new replies.