• Resolved doctorfunk

    (@doctorfunk)


    Fantastic plugin thank you.

    I’ve got everything looking and working just as I want it. However, I notice the event name is a URL which then takes the user to the /event/event-name page. Is there a way of disabling the URL? I literally just want a list of events, I don’t want the user to be able to click on anything which takes him away from the Divi page.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support vishali009

    (@vishali009)

    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!

    Thread Starter doctorfunk

    (@doctorfunk)

    Thanks @vishali009 for getting back to me so quickly.

    I’ve disabled the image so I think thats fine, it’s the actual event name. I’ll try and attach a screenshot. It’s the bit that says Dunholme Ladies Club, thats the URL I would like to disable.

    Sorry to be a pain and thank you so much for your help.

    Plugin Support vishali009

    (@vishali009)

    Hi @doctorfunk,

    To remove the Title link please:
    Update ecmd_event_layout.php

    Go to:
    Event Calendar Modules For Divi>> Includes>> Modules >>EventsLayouts>> templates >>ecmd_event_layout.php

    Find line 16 code replace? with this code:

    $event_title =  get_the_title( $event_id );

    After making these change, Title link will be removed.

    For more, you can refer to the screenshot.

    Let me know if you need any help!

    Thread Starter doctorfunk

    (@doctorfunk)

    @vishali009

    Perfect! Thank you so much. Great plugin, great support!!!

    Plugin Support vishali009

    (@vishali009)

    Glad to help! Feel free to reach out anytime.

    We would greatly appreciate your valuable feedback.

    Here you can share your feedback:-https://www.ads-software.com/support/plugin/events-calendar-modules-for-divi/reviews/#new-post

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.