WPIntell

Source evidence

Display Day on Date Highlight

Events Calendar Modules for Divi · support · 2025-03-07T10:24:00+00:00

mixedsentiment
lowseverity
0.68relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 35 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
doctorfunk resolved
@vishali009 Sorry to be a pain, the client is now asking if the Date Highlight can also show the day as well as the date and month? Or if it can’t be shown in the date highlight can there be an option in the event date format option to include the day in the SEDT so it shows the day, date, month, year and time? Thanks for your help. Dear @doctorfunk , Thank you for reaching out! The Date Highlight feature doesn’t support the SEDT format as it wouldn’t fit the design. However, you can add the weekday in the SEDT format by modifying the code in ModulesHelper.php . To do this, please follow these steps: Navigate to Plugins >> Plugin File Editor . Select Events Calendar Modules for Divi . Go to includes >> modules >> ModulesCore >> ModulesHelper.php . Change the code from line 375 to 442 . public static function ecmd_startend_date_html( $event_id, $template, $time, $ev_time ) { $event_schedule = ''; if ( tribe_get_start_date( $event_id, false, 'Y' ) === tribe_get_end_date( $event_id, false, 'Y' ) ) { if ( tribe_get_start_date( $event_id, false, 'F' ) === tribe_get_end_date( $event_id, false, 'F' ) ) { if ( tribe_get_start_date( $event_id, false, 'd' ) === tribe_get_end_date( $event_id, false, 'd' ) ) { $event_schedule = ' <div class="ecmd-date-area ' . esc_attr( $template ) . '-schedule" > <span class="ev-weekday">' . esc_html( tribe_get_start_date( $event_id, false, 'l' ) ) . '</span> <span class="ev-day">' . esc_html( tribe_get_start_date( $event_id, false, 'd' ) ) . '</span> <span class="ev-mo">' . esc_html( tribe_get_start_date( $event_id, false, 'M' ) ) . '</span> <span class="ev-yr">' . esc_html( tribe_get_start_date( $event_id, false, 'Y' ) ) . '</span>'; if ( $time ) { $event_schedule .= '<span class="ev-time"><span class="ecmd-icon"> <i class="ecmd-icons-clock" aria-hidden="true"></i></span> ' . $ev_time . '</span>'; } $event_schedule .= '</div>'; } else { $event_schedule = ' <div class="ecmd-date-area ' . esc_attr( $template ) . '-schedule" > <span class="ev-weekday">' . esc_html( tribe_get_start_date( $event_id, false, 'l' ) ) . '</span> <span class="ev-day">' . esc_html( tribe_get_start_date( $event_id, false, 'd' ) ) . ' - ' . esc_html( tribe_get_end_date( $event_id, false, 'd' ) ) . ' </span> <span class="ev-mo">' . esc_html( tribe_get_start_date( $event_id, false, 'M' ) ) . '</span> <span class="ev-yr">' . esc_html( tribe_get_start_date( $event_id, false, 'Y' ) ) . '</span>'; if ( $time ) { $event_schedule .= '<span class="ev-time"> <span class="ecmd-icon"><i class="ecmd-icons-clock" aria-hidden="true"></i></span> ' . $ev_time . '</span>'; } $event_schedule .= '</div>'; } } else { $event_schedule = ' <div class="ecmd-date-area ' . esc_attr( $template ) . '-schedule" > <span class="ecmd-sed-main"> <span class="ecmd-sed-startdate"> <span class="ev-weekday">' . esc_html( tribe_get_start_date( $event_id, false, 'l' ) ) . '</span> <span class="ev-day">' . esc_html( tribe_get_start_date( $event_id, false, 'd' ) ) . '</span> <span class="ev-mo">' . esc_html( tribe_get_start_date( $event_id, false, 'M' ) ) . ' </span> </span> <span>-</span> <span class="ecmd-sed-enddate"> <span class="ev-weekday">' . esc_html( tribe_get_end_date( $event_id, false, 'l' ) ) . '</span> <span class="ev-day">' . esc_html( tribe_get_end_date( $event_id, false, 'd' ) ) . '</span> <span class="ev-mo">' . esc_html( tribe_get_end_date( $event_id, false, 'M' ) ) . '</span> </span> </span> <span class="ev-yr">' . esc_html( tribe_get_start_date( $event_id, false, 'Y' ) ) . '</span>'; if ( $time ) { $event_schedule .= '<span class="ev-time"><span class="ecmd-icon"> <i class="ecmd-icons-clock" aria-hidden="true"></i></span> ' . $ev_time . '</span>'; } $event_schedule .= '</div>'; } } else { $event_schedule = ' <div class="ecmd-date-area ecmd-startend-date ' . esc_attr( $template ) . '-schedule" > <span class="ecmd-start-date"> <span class="ev-weekday">' . esc_html( tribe_get_start_date( $event_id, false, 'l' ) ) . '</span> <span class="ev-day">' . esc_html( tribe_get_start_date( $event_id, false, 'd' ) ) . '</span> <span class="ev-mo">' . esc_html( tribe_get_start_date( $event_id, false, 'M' ) ) . ' </span> <span class="ev-yr">' . esc_html( tribe_get_start_date( $event_id, false, 'Y' ) ) . ' </span> </span> <span class="ecmd-sed-seperator">-</span> <span class="ecmd-end-date"> <span class="ev-weekday">' . esc_html( tribe_get_end_date( $event_id, false, 'l' ) ) . '</span> <span class="ev-day">' . esc_html( tribe_get_end_date( $event_id, false, 'd' ) ) . '</span> <span class="ev-mo">' . esc_html( tribe_get_end_date( $event_id, false, 'M' ) ) . '</span> <span class="ev-yr">' . esc_html( tribe_get_end_date( $event_id, false, 'Y' ) ) . '</span> </span>'; if ( $time ) { $event_schedule .= '<span class="ev-time"><span class="ecmd-icon"> <i class="ecmd-icons-clock" aria-hidden="true"></i></span> ' . $ev_time . '</span>'; } $event_schedule .= '</div>'; } return $event_schedule; } For more you can refer to the attached screenshot . 🔹 Note: After every plugin update, you will need to manually reapply these changes. If you need any further assistance, feel free to reach out. We’re happy to help! 😊 Thanks & Regards Hi there, I just wanted to follow up and see if the solution we provided worked for you. Since we haven’t heard back, I’ll close this ticket for now. If you still need any help, feel free to open a new ticket—we’re always happy to assist you! Thanks for reaching out, and have a great day!

Comments

2 shown
Vishali Tayal 2025-03-07T11:42:00+00:00

Dear @doctorfunk , Thank you for reaching out! The Date Highlight feature doesn’t support the SEDT format as it wouldn’t fit the design. However, you can add the weekday in the SEDT format by modifying the code in ModulesHelper.php . To do this, please follow these steps: Navigate to Plugins >> Plugin File Editor . Select Events Calendar Modules for Divi . Go to includes >> modules >> ModulesCore >> ModulesHelper.php . Change the code from line 375 to 442 . public static function ecmd_startend_date_html( $event_id, $template, $time, $ev_time ) { $event_schedule = ''; if ( tribe_get_start_date( $event_id, false, 'Y' ) === tribe_get_end_date( $event_id, false, 'Y' ) ) { if ( tribe_get_start_date( $event_id, false, 'F' ) === tribe_get_end_date( $event_id, false, 'F' ) ) { if ( tribe_get_start_date( $event_id, false, 'd' ) === tribe_get_end_date( $event_id, false, 'd' ) ) { $event_schedule = ' <div class="ecmd-date-area ' . esc_attr( $template ) . '-schedule" > <span class="ev-weekday">' . esc_html( tribe_get_start_date( $event_id, false, 'l' ) ) . '</span> <span class="ev-day">' . esc_html( tribe_get_start_date( $event_id, false, 'd' ) ) . '</span> <span class="ev-mo">' . esc_html( tribe_get_start_date( $event_id, false, 'M' ) ) . '</span> <span class="ev-yr">' . esc_html( tribe_get_start_date( $event_id, false, 'Y' ) ) . '</span>'; if ( $time ) { $event_schedule .= '<span class="ev-time"><span class="ecmd-icon"> <i class="ecmd-icons-clock" aria-hidden="true"></i></span> ' . $ev_time . '</span>'; } $event_schedule .= '</div>'; } else { $event_schedule = ' <div class="ecmd-date-area ' . esc_attr( $template ) . '-schedule" > <span class="ev-weekday">' . esc_html( tribe_get_start_date( $event_id, false, 'l' ) ) . '</span> <span class="ev-day">' . esc_html( tribe_get_start_date( $event_id, false, 'd' ) ) . ' - ' . esc_html( tribe_get_end_date( $event_id, false, 'd' ) ) . ' </span> <span class="ev-mo">' . esc_html( tribe_get_start_date( $event_id, false, 'M' ) ) . '</span> <span class="ev-yr">' . esc_html( tribe_get_start_date( $event_id, false, 'Y' ) ) . '</span>'; if ( $time ) { $event_schedule .= '<span class="ev-time"> <span class="ecmd-icon"><i class="ecmd-icons-clock" aria-hidden="true"></i></span> ' . $ev_time . '</span>'; } $event_schedule .= '</div>'; } } else { $event_schedule = ' <div class="ecmd-date-area ' . esc_attr( $template ) . '-schedule" > <span class="ecmd-sed-main"> <span class="ecmd-sed-startdate"> <span class="ev-weekday">' . esc_html( tribe_get_start_date( $event_id, false, 'l' ) ) . '</span> <span class="ev-day">' . esc_html( tribe_get_start_date( $event_id, false, 'd' ) ) . '</span> <span class="ev-mo">' . esc_html( tribe_get_start_date( $event_id, false, 'M' ) ) . ' </span> </span> <span>-</span> <span class="ecmd-sed-enddate"> <span class="ev-weekday">' . esc_html( tribe_get_end_date( $event_id, false, 'l' ) ) . '</span> <span class="ev-day">' . esc_html( tribe_get_end_date( $event_id, false, 'd' ) ) . '</span> <span class=...

Vishali Tayal 2025-03-27T05:08:00+00:00

Hi there, I just wanted to follow up and see if the solution we provided worked for you. Since we haven’t heard back, I’ll close this ticket for now. If you still need any help, feel free to open a new ticket—we’re always happy to assist you! Thanks for reaching out, and have a great day!