Agency Based Discussion > Shutterstock.com
Embed code to share latest images in WP widget?
TnT Designs:
Hi all
The code I embedded to show my latest images in a widget on my Wordpress site just stopped working out of the blue. I tried to find the code snippet on my contributor space, and I can't seem to locate it or remember how I got it in the first place.
Can someone help me? I tried on the SS forum and received no help :-\
Thanks!
Uncle Pete:
Not sure, try this,
By Member ID Number - link to your gallery: http://www.shutterstock.com/gallery-970624.html
where your user number is 970624 - this one redirects, but is easiest
This works for anyone who puts their own user number between the - and the .html
http://www.shutterstock.com/gallery-######.html
TnT Designs:
Thanks for replying. I'm not trying to put in a link - it's the code snippet that shows thumbnails of best selling or latest images. You used to be able to copy the code from somewhere in your catalogue. Possibly under promotion? But nothing's there now.
georgep7:
I cannot help on that, have no idea. Sorry.
But it sounds interesting. I wouod like to try.
If it is free code, can I ask for a copy or author's site link?
:)
TnT Designs:
This is the code:
--- Code: ---<div data-id='fcf89473-10e9-4020-b820-41e2c4248f10' class='sstk_widget' style='position: relative; width: 300px; height: 600px;'> <a href="https://submit.shutterstock.com" target="_blank" style="position: absolute; bottom: -1px; right: 1px;"> <img src="https://sstkcbstorage.blob.core.windows.net/content/img/red_grey.png" style="height: 26px;"/> </a><script type='text/javascript'>window._wdata = window._wdata || [];_wdata.push({server_url: 'https://promote.shutterstock.com', widget_id: 'fcf89473-10e9-4020-b820-41e2c4248f10', host_url: document.URL,width: 300,height: 600});(function(){if (typeof (alensa_widget) !== 'undefined' ) return;var alensa_js = document.createElement('script'); alensa_js.type = 'text/javascript'; alensa_js.async = true;alensa_js.id = 'alensa_w_script';alensa_js.src = 'https://promote.shutterstock.com/content/embed.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(alensa_js, s);})();</script></div>
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version