I'm trying to apply a jQuery plugin on my wordpress site called Adaptive Backgrounds <a href="http://briangonzalez.github.io/jquery.adaptive-backgrounds.js/" rel="nofollow">http://briangonzalez.github.io/jquery.adaptive-backgrounds.js/</a>.
I want to use it for my post thumbnails. The readme documentation says:
<blockquote>
The script looks for image(s) with the
attribute:
</blockquote>
My question is: How do I add this attribute to my post thumbnails, and my post thumbnails only?
I want to use it for my post thumbnails. The readme documentation says:
<blockquote>
The script looks for image(s) with the
Code:
data-adaptive-background
Code:
html <img src="/image.jpg" data-adaptive-background='1'>
My question is: How do I add this attribute to my post thumbnails, and my post thumbnails only?