• PedroDK

    (@pedrodk)


    Hi,

    Is there a way to add a target, ie. ‘_blank’ to the url in the events list?

    Thanks.

    P.

    The page I need help with: [log in to see the link]

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

    (@vishali009)

    Hi,

    Please add the below shared code to your plugin file.

    Path Go To: plugins->events-widgets-for-elementor-and-the-events-calendar->widgets->ectbe-widget.php
    If you want to add a target to the event title, change this code to line number 798.

    $evt_title = '<div class="ectbe-evt-title"><a class="ectbe-evt-url" target="_blank" href="' . esc_url( $url ) . '">' . wp_kses_post( $event_title ) . '</a></div>';

    If you want to add a target to find out more, change this code to line number 817.

    $ectbe_read_more = '<div class="ectbe-evt-more-box"><a class="ectbe-evt-read-more" target="_blank" href="' . esc_url( $url ) . '">' . esc_html__( 'Find out more', 'ectbe' ) . '</a></div>';

    You can refer to this screenshot.

    Let me know if you have any other questions.

    I hope this will helps you.

    Thanks & Regard

    Thread Starter PedroDK

    (@pedrodk)

    Hi Vishali009,

    Thank you very much for your help and sorry for my late reply. ??

    cheers P.

    Plugin Author CoolHappy

    (@narinder-singh)

    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-widgets-for-elementor-and-the-events-calendar/reviews/#new-post

    Thanks in advance!

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