Getting thumbnail and adding attributes
-
Im building a “featured post” slider on a theme using foundation.
Im using the Orbit script.I would like to get the following output from a WP_Query
<a href="POST LINK"><img data-caption="#POST-ID" src="THUMBNAIL"></a>
Any help would be awesome.
- The topic ‘Getting thumbnail and adding attributes’ is closed to new replies.