Home Forums Themes Support Formota Open Team Member links in new window

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9147
    kamal
    Supported

    Hi,

    How can I make the Team Member social links open in a new window/tab?

    Kamal

    #9151

    Hi,
    Thanks for contacting us and choosing our product!
    About this issue you can go to: wp-content/plugin/haru-formota-core/templates/posttypes/teammember/ then open file carousel.php (or another file depend on settings you set at backend)
    Find the code like this:
    <a href="<?php echo esc_url( $social['url'] ); ?>"><i class="<?php echo esc_attr( $social['icon'] ); ?>"></i><?php echo esc_html( $social['network'] ); ?></a>
    and change to:
    <a href="<?php echo esc_url( $social['url'] ); ?>" target="_blank"><i class="<?php echo esc_attr( $social['icon'] ); ?>"></i><?php echo esc_html( $social['network'] ); ?></a>
    and find
    <a href="<?php echo esc_url( ( $detail_link_insert != '' ) ? $detail_link_insert : get_permalink( $detail_link_id ) ); ?>" target="_self">
    to
    <a href="<?php echo esc_url( ( $detail_link_insert != '' ) ? $detail_link_insert : get_permalink( $detail_link_id ) ); ?>" target="_blank">
    https://prnt.sc/1up104g
    You can do it via child theme follow this topic:

    How to customize WordPress theme using Child theme


    Hope this helps!

    ****
    Regards,
    HaruTheme

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.