Does anyone know what the code would be (or what code to edit) to make my hyperlinks open in a new tab – this is different from the “add link” option within a post/page editor. I am trying to do it with the post title.
If you click on my post title, I want it to open in a new tab instead of moving forward into my site.
To force a link to open in a new tab you need to add the target=”_blank” attribute to the link. As far as I know, it’s recommended that you let users decide whether they want to open a link in a new tab or not, however.
In any case, to do it, you could create a child theme for Twenty Twelve and duplicate the content.php file from the parent. Find this line of code: