add target="_blank" for links not working anymore after using ajax pagination

Posted in: Newspaper
Post count: 9

Hey there,

I am enjoying your beautiful theme. However, as you know clients have sometimes weird requests.
He wants all links of a section open in new tabs. Don’t ask me why please 🙂

Therefore I used this jQuery script to make all links in that specific block (flex block 1) at https://www.k-i-e.com/#content-section opening up in new tabs:

$(“#content-section a”).attr(“target”,”_blank”);

Pretty easy right and it works fine until I press that blue ajax button to the bottom right to bring up new posts.

Any idea how I can fix the script to make it work?

Thanks a lot for your help!

Cheers,
Torsten

Post count: 35449
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.