Our Team by WooThemes
Open in new window (1 post)

  1. johnnymorriswp
    Posted 2 years ago #

    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.



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Our Team by WooThemes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic