Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // wp thumbshot
- function wp_thumb(s){return '<a href="'+s+'" target="_blank"><img src="http://wordpress.com/mshots/v1/'+encodeURIComponent(s)+'?w=640" alt="" width="100%"/></a>';}
- console.log(wp_thumb("http://coolphotographypics.blogspot.com"));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement