Replace attribute "rel" with "data-rel" to make HTML5 valid
-
Hello!
I want to ask you could you replace REL attribute with DATA-REL attribute to make page code valid for W3C.
Could you make this in update?Or please, tell me how could I do it by myself, because I replace rel to data-rel in wp-jquery-lightbox.php on lines: 168,169,187
and also in JS file on line:jQuery('a[rel^="lightbox"]').lightbox
It working but weird a bit: when I open any image there is a counter of all images and it shows more images than I have on a page.
URL to check error: https://nikita-sp.com.ua/2015/11/vodyanyie-znaki-na-izobrazheniyah-i-kak-udalit-prostoy-vodyanoy-znak.html
Here is screen shoot:
https://i66.tinypic.com/25j9z4l.jpgTHere is only 12 images, but it shows 59!
Please, help or update plugin.
Thanks!
- The topic ‘Replace attribute "rel" with "data-rel" to make HTML5 valid’ is closed to new replies.