Hi @doctorfunk,
Thanks for reaching out! I understand that you want to disable the link on the image.
To do this, you’ll need to make two small changes to your plugin files: Update list_style1.php and list_style2.php
Go to: Event Calendar Modules For Divi>> Includes>> Modules >>EventsLayouts>> templates >> list_style1.php
Find lines 18-21 and replace them with this:
if ( $show_event_image === 'on' ) {
$events_html .= '<div class="ecmd-image-div"><div class="ecmd-list-img"><img src="' . esc_url( $ev_post_img ) . '">';
$events_html .= '</div></div>';
}
Update list_style2.php
Go to: Event Calendar Modules For Divi>>Includes>>Modules>>EventsLayouts>>Templates>> list_style2.php
Find lines 27-34 and replace them with this:
if ( $show_event_image === 'on' ) {
$events_html .= '<div class="ecmd-list-post-left">';
$events_html .= '<div class="ecmd-image-div"><div class="ecmd-list-img"><img src="' . esc_url( $ev_post_img ) . '">';
$events_html .= '</div></div>';
} else {
$events_html .= '<div class="ecmd-list-post-left no-image">';
}
After making these changes, the image link will be disabled.
For more, you can refer to the screenshots.
Screenshot 1
Screenshot 2
Let me know if you need any help!