Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1927272
open link in the same tab
Closed

Comments

  • sokkoprinting started the conversation

    Hello,

    When lunch any link in my website I get the new page in a different tab. I would like stay in the window. Where i can find this feature? Or do i need edit any css?


    Many Thanks for your support!!


  •  7,095
    Oliver replied

    Hi,

    pls. provide the wp-admin access and add few screenshot where you need to change link behavior. 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •   sokkoprinting replied privately
  •  7,095
    Oliver replied

    Hi,

    You need to edit:

    /wp-content/themes/thegem/content-gallery-item.php

    and change the line:

    <a href="<?php echo esc_url($thegem_attachment_link); ?>" target="_blank" class="icon link"></a>
    

    to

    <a href="<?php echo esc_url($thegem_attachment_link); ?>" target="_self" class="icon link"></a>
    

    Before the editing copy this file to the child theme for the safety feature updates.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver