WordPress.org

Ready to get started?Download WordPress

Forums

How to manually add calendar widget (3 posts)

  1. svsdnb
    Member
    Posted 5 years 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.

  2. <h3><?php _e('Calendar','isdsite');?></h3>
    <ul class="subnav">
    <?php wp_widget_calendar;?>

  • Shane G
    Member
    Posted 5 years ago #

    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
    Member
    Posted 5 years ago #

    i use this for today┬▒

    <?php echo todays_events(); ?>

    and this for upcoming events

    <?php echo upcoming_events(); ?>

    Works fine when plugin is active :)

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags