Support » Plugin: Our Team by WooThemes » Open in new window

  • Hi All

    I would like the url link to open in a new window. I have worked out how to modify the code in line 115 of the core template php file to do this, by adding target=_blank within the opening <a tag –

    `if ( true == $args[‘display_url’] && ” != $post->url && apply_filters( ‘woothemes_our_team_member_url’, true ) ) {
    $title .= ‘<a href=”‘ . esc_url( $post->url ) . ‘” target=”_blank”>’ . “\n”;`

    However I know I will lose this when the Plugin updates unless I add a hook or filter in a child theme to make the change. However that is beyond my coding skills.

    Any advice on how to do this will be very much appreciated.


  • The topic ‘Open in new window’ is closed to new replies.