Forums
Home / Fixing WordPress / How to manually add calendar widget
(@svsdnb)
15 years, 2 months ago
I was wondering what the proper call was to manually add the calendar widget to my sidebar?
I thought this was correct but the calendar does not show up.
(@shane-g)
Hi,
Just add widget from wordpress and you can find the actual code of calender widget from widget.php inside the wp-includes folder.
Thanks,
Shane G.
(@djavin)
i use this for today±
<?php echo todays_events(); ?>
and this for upcoming events
<?php echo upcoming_events(); ?>
Works fine when plugin is active 🙂