-
jakras81Participant
Hi.
Is it possible to change the theme så that the link in the link post format will open in a new window if new window is set on the link?
AlexanderParticipantjakras81Participantwhen I use the post format “link” the link will open in the same window. that is ok sometimes if it is an internal link, but if it is external i would like the link to open in a new window.
is that possible?
Daniel TaraKeymasterI’m not sure if the target parameter on the link can be detected but you can make this a general feature by opening the content-link.php file and manually adding target=”_blank” to the permalink.
jakras81ParticipantThank you, but I want to have the possibility to change it in the backend, so I can use the “_blank” some times and the “same window” some times….
Daniel TaraKeymasterIf you know your way around you can add a post meta, then check if it exists and add the parameter only then.
Tagged: link, post format
You must be logged in to reply to this topic.