In TA-Meghna theme, how can I put a target_blank for all portfolio link ? The link inside the portfolio.
Hello, please open the file ‘ta-meghna/js/grid.js’ and add a new line ‘this.$href.attr( ‘target’, _blank );’ blow line 411.
That works when you click on the portfolio image. But what I look for is more when you click on the protfolio item, it show the image and the text beside, and the portfolio url link with the button. Need that link to open in new page.
And seem that the line added ‘this.$href.attr( ‘target’, _blank );’ make the slideshow image resize to mobile size… I remove the line and the slider goes back to normal.
Looking forward to find an other solution. Thanks soo much for your support.
Hello, please provide me the access to your WordPress dashboard (admin role) and FTP server via Private Message, I’ll test the modification. Thanks!
Hello, I can’t login to your WordPress dashboard, as you are using Clef. I’ve made some changes, but I can’t delete cache to debug. Please delete your site cache and try again. Thanks!
Wow thanks it works ! I use Clef, but I actually uninstall the plugin to let you access. I just delete the cache and now links open in new tabs ! Exactly what I need ! Thanks so much Kevin !
And by the way, how did you do ?
Hello, it’s my mistake. The codes should be ‘this.$href.attr( ‘target’, ‘_blank’ );’.