That widget will not work that well because it will only show months that have published posts, which is impossible for future dates. Altering it is not that simple because it uses get_calendar()
, a core function that cannot be modified.
If you just want to display a calendar for easy reference, use jQuery UI datepicker. It can be displayed inline on your sidebar template. The library is part of the WP distribution, just enqueue it and follow this example
Thanks bcworkz!
Well, I never thought about that – might be a good option. But your link with the example is not working… 😉
Err, sorry about that, the href seems to have disappeared :/
This should do it even if the link doesn’t:
http://jqueryui.com/datepicker/#inline
That widget will not work that well because it will only show months that have published posts, which is impossible for future dates. Altering it is not that simple because it uses get_calendar(), a core function that cannot be modified.