• Resolved whitehead197

    (@whitehead197)


    I can’t work out how I would have my posts/news items, appear in a New Tab when people click on the post/news item.

    At the moment when the article is clicked, it opens in the same Tab.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator bcworkz

    (@bcworkz)

    It depends on how the link is generated from your theme. Essentially, you need to add the target="_blank" attribute to the anchor tag. How that is done depends both on the specific link and your theme. I recommend asking in your theme’s dedicated support forum for more specific guidance.

    N.B. — Many browsers allow users to override the default behavior caused by target="_blank". Some web page designers consider it poor form to presume a user wants a link opened in a new tab. Most users know how to accomplish that if that is what they desire. Of course, it’s your site, you may do as you wish.

    Hello @whitehead197

    You can easily make WordPress links open in new tabs. In the WordPress visual editor, navigate to the text or image, where you have to link to another page.

    • While inset/edit the link Check the box next to “Open link in a new tab”.
    • Click on the “Add Link” button to save the changes.
    • Update the post to save the changes.

    Alternatively, you can add the “target=_blank” attribute to a link in order to make it open in a new browser tab when clicked. To use this attribute, you need to include it within the opening anchor tag of the link like this:

    <a href="https://www.example.com" target="_blank">Click here</a> 
    

    That’s it! Now, the link to your post, will open in a new tab.

    • This reply was modified 1 year, 6 months ago by clayp.
    Thread Starter whitehead197

    (@whitehead197)

    To enable the post to open in a new tab, I had to change the format of the post to “Link”,. Now the posts open in a new tab.

    Thread Starter whitehead197

    (@whitehead197)

    And also add the Permalink into the Title Wrapper page.

    There is an option down the bottom where you can add a link directly to the page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Make a Post appear in a New Tab’ is closed to new replies.