Home › Forums › Pro Support › Title link to new window Tagged: title link to _blank target This topic has 3 replies, 2 voices, and was last updated 1 year ago by elvin. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts January 22, 2022 at 3:25 pm #36437 HansParticipant I want to change the title link in a specific wpsp list to _blank target windows. Is there a solutuon? January 23, 2022 at 4:32 pm #36446 elvinModerator Hi Hans, The link is hard-coded, unfortunately. https://github.com/tomusborne/wp-show-posts/blob/35e410d7800273fc66f211c0f80d553e95d17f83/wp-show-posts.php#L439 Consider adding it using a javascript. Something like: var title_link = document.querySelectorAll('.wp-show-posts-entry-title > a'); for (var i=0; i<title_link.length; i++){ title_link[i].setAttribute('target', '_blank'); } Hook this on your site’s wp_footer. January 24, 2022 at 9:14 am #36456 HansParticipant Thank you! It works!!! January 24, 2022 at 4:06 pm #36464 elvinModerator No problem. 😀 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In