We announce the release of NewsCard Pro with lots of features. View beautifuldemos

Open each posts in a new tab

This topic contains 4 replies, has 3 voices, and was last updated by  akshat.k.madan 1 day, 15 hours ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #62130

    akshat.k.madan
    Participant

    Dear Team,

    How do we make each wordpress post open in a new tab?

    warm regards
    Akshat

    #62277

    Hi @akshat-k-madan,

    To open the each post in a new tab you need to customize the code so you need to hire a developer to customize the code for you.

    Thanks

    #62447

    akshat.k.madan
    Participant

    Hi Team,

    Can you please help us with the code, i read that attribute [target=”_blank”] needs to be added to < a href=”<?php the_permalink(); code somewhere, but i can’t that in the theme editor.

    Also, can you suggest where can we hire a developer to make this change? Is there anyone in your support team willing to help?

    warm regards
    Akshat

    #62492

    kevlevrone6
    Participant

    Hi there. You are right. It should be attributed [target=”_blank”].
    You can also do it using JavaScript as well. See how I’ve made it on my website here.

    #62538

    akshat.k.madan
    Participant

    Hey Kev, thanks for link, however, can you please also share the JavaScript code to make the necessary attribute change?
    btw, your website looks pretty neat, good job there!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.