Viewing 1 reply thread
You must be logged in to reply to this topic.
Hi! I need help with a simple issue.
When I add an image to a page with the Media shortcode, the image has a “_blank” link by default, and I can’t find a way to change it to open the link in the same page.
Can you please help me?
Thanks!
Hello,
Sorry for the late reply.
Please go to file admin\inc\fields\media\field_media.php and find these lines:
https://codeshare.io/1rKfX
Remove the target="_blank"
from them and save.
Let us know.
Best regards!
You must be logged in to reply to this topic.