Hi I am trying to figure out on how to get the “view” link on the manage posts / custom post types and pages to open in a new tab or window.
I know it is probably possible to do via the functions.php file of the theme and would much rather go that route than using a plugin.
Any help with this would be appreciated. Thank you. 🙂
Late answer
WP core offers a function for that case, that makes it much easier and future proof: Simply map it on each item.
Wrapped up in a plugin
Best used as mu-plugin.
The plugin is tested and works seamlessly. You can adjust the post types where you want to have it active in the array inside the foreach loop.
Place in a file here /wp-contents/mu-plugins/popup-view-action.php or here /wp-contents/plugins/pupup-view-action.php and then activate.
Regards.