Creating Custom Sidebar Widget (random events)

Home Forums Calendar Products Events Calendar PRO Creating Custom Sidebar Widget (random events)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #25116
    Cody
    Member

    Hello,

    Love your plugin. I would like to create a custom sidebar widget to display events on my site. I want to show a random event that will occur within the next 1-2 weeks. I also want to display the wordpress featured image for the event in the sidebar. Can anyone give me directions on how to setup a custom widget like this? I’ve got some PHP knowledge, but need someone to point me in the right direction. Thanks!

    #25320
    Jonah
    Participant

    Hi Cody,

    I’m working with some others on the team to come up with a solution on this for you. Stay tuned.

    – Jonah

    #26439
    Cody
    Member

    Hi Jonah,

    Any luck with figuring out a solution to what I was requesting? Please let me know. Thanks!

    #26444
    Jonah
    Participant

    Hi Cody,

    Yes I do have a solution for you. Sorry this took so long! I’ve been meaning to submit this as a plugin in the WordPress.org repo but haven’t had time yet. Take the following code and create a new PHP file and place in your plugins folder, it will then show up as a plugin you can activate in your plugins page: https://www.sourcedrop.net/8hE5fd513b378

    The only things you may want to change are the date parameters and the markup for the event data.

    I hope that helps!

    – Jonah

    #977967
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Creating Custom Sidebar Widget (random events)’ is closed to new replies.