Dear Customers! We're out of the office from the 6th of October to the 11th of October. We sincerely apologize for the inconvenience. For WordPress 5.5.* related issues, please visit this article

Okay
  Public Ticket #1046387
Social links in new tab
Closed

Comments

  •  2
    Thomas started the conversation

    (the company i work for purchased the theme)

    Im working on a website for a client. She wants social buttons on the page. I got the button working from the theme settings page, but i can’t find an option to open the links in a new tab/page. Is this something that could be implemented? or am i just not seeing it.

  •  361
    Filip replied

    Hello there,

    Please edit the /purity/functions/general-functions.php file and change this line (~109th):

    echo '<a href="'.get_option_tree("social_".$v).'" class="social-'.$v.'"></a>';

    to:

    echo '<a href="'.get_option_tree("social_".$v).'" class="social-'.$v.'" target="_blank"></a>';
    

    :)

    Kind Regards,
    Veented Team