[Plugin: The Events Calendar] Break day and month into separate classes / units
-
Hello all,
I am trying to edit events-list-load-widget-display.php to allow for styling the day and month uniquely for the calendar list widget.Does anyone know if there are hooks native to the plugin’s structure that allow me to call each of those separately and wrap them in their own span? Or if there is another solution that would make this possible?
Currently this is the php being used:
<?php if ( $start == 'on' && $EventStartDate != '' ) { $time = $startTime == 'on' ? true : false; echo the_event_start_date( $post->ID, $time ); } if ( $end == 'on' && $EventEndDate != '' ) { if( $start == 'on' && $EventStartDate != '' ) echo ' to '; $time = $endTime == 'on' ? true : false; echo the_event_end_date( $post->ID, $time ); } ?>
I would think you could just change $time, but haven’t found a solution that works.
Ideally in this process I would also like to omit having the date shown.
Any help would be greatly appreciated.
Best,
Nathan
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: The Events Calendar] Break day and month into separate classes / units’ is closed to new replies.