Adding rel tag to a link
-
I’m trying to ad a rel=”lightbox” tag to the a href tag.
I’ve got this:
<?php echo MultiPostThumbnails::the_post_thumbnail('products', 'product-thumbnail-1', NULL, 'product-thumbnails' , array('class' => 'thumbnails', 'rel' => 'lightbox'), true); ?>
But this puts the rel tag within the img tag.
Any suggestions?
http://wordpress.org/extend/plugins/multiple-post-thumbnails/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding rel tag to a link’ is closed to new replies.