Calendar Widget
-
Hello everybody,
Who knows php, Please help. I want that Calendar title was month and year (November 2007) like he make below, but what is below delete. ?? in code it is much more simple:
now it is in general-template.php
echo '<table id="wp-calendar" summary="' . __('Calendar') . '"> <caption>' . $wp_locale->get_month($thismonth) . ' ' . date('Y', $unixmonth) . '</caption> <thead> <tr>';
and i would like it aperas in Calendar title (file widgets.php)
function wp_widget_calendar($args) { extract($args); $options = get_option('widget_calendar'); $title = $options['title']; if ( empty($title) ) $title = ' '; echo $before_widget . $before_title . $title . $after_title; echo '<div id="calendar_wrap">'; get_calendar(); echo '</div>';
so to have
' . $wp_locale->get_month($thismonth) . ' ' . date('Y', $unixmonth) . '
here$title = ' ';
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Calendar Widget’ is closed to new replies.