badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Open each posts in a new tab

Viewing 6 posts - 1 through 6 (of 6 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
    Blocked

    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!

    #62795

    @akshat-k-madan you can easily add those line via child theme instead of using javascript.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.