Savage
Forum Replies Created
-
Thanks for your swift help Angelo
Worked great!
Nicmare
Thanks so much – now working great- for some reason the php file for the calendar I’ve put in a templates folder in my child theme wasn’t overriding the original plugin templates but tested by applying to the originals and now working greatThanks for all your help
Brilliant thanks for the swift reply and the screenshot, have you got a snippet of your css we can compare too?
Hi Nicmare – great solution – did you get this working, we have added the code to the site but it doesnt seem to create the class to target with the css.
our amended code is…
<td class="<?php echo $class; ?><?php if ($cell_data['date'] <= time()) { echo " past"; } ?>"> <?php if( !empty($cell_data['events']) && count($cell_data['events']) > 0 ): ?> <a>" title="<?php echo esc_attr($cell_data['link_title']); ?>"><?php echo date('j',$cell_data['date']); ?></a> <?php else:?> <?php echo date('j',$cell_data['date']); ?> <?php endif; ?> </td>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Have we missed anything here?
Thanks for the reply, any pointers on how or where we would go about this seems it would be a great feature for the widget.
Forum: Plugins
In reply to: [Event Organiser] Change M,T, W, T, F, S, S on widget claendarHi Stephen,
Thats ace – thanks for such a swift reply!
Forum: Plugins
In reply to: [Event Organiser] Change M,T, W, T, F, S, S on widget claendarHi Stephen
Many thanks for that, I’ve located the following bit int he code but not sure what I need to change for the Mon Tues Wed display
` $head = “<thead><tr>”;
for ( $d=0; $d <= 6; $d++ ):
$day = $wp_locale->get_weekday( ($d + $start_day ) % 7 );
$day_abbrev = $wp_locale->get_weekday_initial( $day );
$head .= sprintf( “<th title=’%s’ scope=’col’>%s</th>”, esc_attr( $day ), esc_html($day_abbrev ) );
endfor;
$head.=”</tr></thead>”; `Any help gratefully received
Thanks
Tim