source/js/slash.js
function(){
		$('.entry-content').each(function(i){
			var _i = i;
			$(this).find('img').each(function(){
				var alt = this.alt;

				if (alt != ''){
					$(this).after('<span class="caption">'+alt+'</span>');
				}

				$(this).wrap('<a href="'+this.src+'" title="'+alt+'" class="fancybox" rel="gallery'+_i+'" />');
			});
		});
	}
function(){
		$('.entry-content').each(function(i){
			var _i = i;
			$(this).find('img').each(function(){
				var alt = this.alt;

				if (alt != ''){
					$(this).after('<span class="caption">'+alt+'</span>');
				}

				$(this).wrap('<a href="'+this.src+'" title="'+alt+'" class="fancybox" rel="gallery'+_i+'" />');
			});
		});
	}
function ( ) { $ ( '.entry-content' ) . each ( function ( i ) { var _i = i ; $ ( this ) . find ( 'img' ) . each ( function ( ) { var alt = this . alt ; if ( alt != '' ) { $ ( this ) . after ( '<span class="caption">' + alt + '</span>' ) ; } $ ( this ) . wrap ( '<a href="' + this . src + '" title="' + alt + '" class="fancybox" rel="gallery' + _i + '" />' ) ; } ) ; } ) ; }
Append caption after pictures
Append caption after pictures