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*

Stop Featured Image Widget link from opening new tab

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6535
    Justin
    Participant

    I’m using the Featured Image Widget and have entered a link for each image. Clicking any of the images opens a new browser tab, which I don’t want. How can I make the linked pages open in the same tab?

    #6600
    Sanjip Shah
    Participant

    @justin Currently there is no such option so you will have to do this directly with the coding adjustment. Open the file attitude_widgets.php which is inside theme folder->library folder->widgets folder. Go to line around 676 and remove this code target="_blank" from there. When you update the theme this changes will be lost so you will have to keep that in mind every time you update or you will have to make a child theme to make this customization for which you may need to hire a developer.

    #6613
    Justin
    Participant

    That did the trick. Thanks.

    #6663
    Sanjip Shah
    Participant

    @Justin OKay. Great.

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