hi Agelonwl!
I got the “Month”, thanks! ??
But i can get the “Days”…
It returns me:
Warning: implode() [function.implode]: Invalid arguments passed in /usr/home/fon.com/web/wp-content/plugins/events-manager/templates/templates/calendar-small.php on line 23
I′m pasting this:
[code]
<tr class="days-names">
<td><?php echo implode('</td><td>',$day_array); ?></td>
<?php
$week_start = get_option('start_of_week');
$temp_array = array("Sun","Mon","Tue","Wed","Thu","Fri","Sat");
$day_array = array();
$id = 0;
$temp = false;
$temp2 = false;
while ($temp == false){
foreach($temp_array as $day_id => $day_value ){
if ( $id < 7 && !in_array($day_value,$day_array) ){
if ( $temp2 ){
$day_array[$id] = $day_value;
$id++;
}
if ( $week_start == $day_id && !$temp2 ){
$day_array[$id] = $day_value;
$temp2 = true;
$id++;
}
}
}
if ($id >= 7){ $temp = true; }
}
?>
</tr>
[/code]
Any idea?
Please, note that it returns /usr/home/fon.com/web/wp-content/plugins/events-manager/ and my site is fon.com.mialias.net (cause it is a demo site)
thanks!