Hello!
I noticed that I can tell that a link in a post should be open in another tab but I do not see that function for a link in a Author website or FB or any other. Is there a way to make that link open in a new tab?
Regards
Hello,
If you mean the author profile, then you will have to add target=_blank to the link by altering the theme code. Here is a refference to the html https://www.w3schools.com/TAGs/att_a_target.asp
You will have to edit the theme code in order to be able to open author links in another tab: https://www.screencast.com/t/MH4bFttuMf
Thank you!
Sorry, I got confused. How do I access this page https://www.screencast.com/t/MH4bFttuMf?
Thanks
Hi,
O tried to change that file but it looks just the same. Can you please tell me what part of that author file I should change and what code I should write?
Regards
Hi,
I believe this is a misunderstanding. By default when the author name is clicked in the author box on the post page, it will open in the same page
– https://www.screencast.com/t/1fjcCsa6Xq
In order for the link to open in a new tab, this is the file and the line of code where you can do that
– https://www.screencast.com/t/uQgD8whhC
Carefully edit the link and add the target property like this
– https://www.screencast.com/t/gXdobVX3N
– https://www.screencast.com/t/xbBF8Tgy
Place the target property just before the first closing bracket >
target="_blank"
After making the change in the code, please clear all caching and check the results. The author name when clicked inside the author box present in the post page, should open in a new tab.
Thanks