• I’m trying to develop a plugin for our team to do something very specific and so I have decided to just write my own after fighting with a few plugins that came close. I’m a little new to developing in the WordPress space, so I’m in my “vertical learning curve” phase. ha. Searching Google for “WordPress Calendar” and related development terms is nearly impossible as it returns a massive slew of plugins advertising their wares. So I need to ask here.

    I’m aware of the jquery-ui-datepicker, but as far as I understand, this is only a pop-out calendar that exists to link to an input to select the date. And I need something more than that. Essentially I need to render a calendar on a page. For all intents and purposes this looks a lot like a booking calendar. Render the calendar, and the user chooses the dates by clicking on it them. Then submits the form. All the rest of the code works just fine. But rendering a calendar seems to be very difficult. ha. Anyone share any advice if they have been down this road before?

Viewing 2 replies - 1 through 2 (of 2 total)

  • There is a block calendar that renders a calendar with your site’s posts. Perhaps that could serve as a guide for creating something similar, tailored to your needs.

    I would then use JavaScript to add onclick events that would fill the required inputs.

    Calendars can be challenging, but don’t let the learning curve bring you down!

    Some contributors are currently working on an Interactivity API to make the development of these interactive blocks easier, but it is still in development. Feel free to take a look, but don’t feel pressured ??

    Thread Starter iamthegorf

    (@iamthegorf)

    Thanks Carlos! The calendar block definitely is a great place to start. Thanks for that. And I will definitely check out the that API work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Does WordPress have a native calendar rendering function’ is closed to new replies.