The Envato Marketplace Items plugin retrieves items from an Envato Marketplace and API set of your choice, then caches those results in your WordPress database before finally displaying the results as an image gallery of 80px square thumbnails.
You can view examples of what the plugin does by checking out the sidebar of any Envato Marketplace blog and look at the Popular Files section. A quick note, the code for those sections is in the functions.php and it is not currently using this new plugin, but they are basically the same code just less option oriented since we only need them to use one API set and not pull from multiple ones.
EDIT: I added it to my sidebar so you can see it right here in action.
Installation
- Upload the envato-marketplace-itmes folder to the /wp-content/plugins/ directory
- Activate the plugin through the Plugins menu in WordPress
- Anywhere on your blog you would like to see the thumbnail gallery add the following code to you theme files (sidebar.php recommended).
1 2 3 4 5 | <?php if (function_exists('envato_marketplace_items')) { envato_marketplace_items(); } ?> |
Download File
Donations
- Make a donation and help keep the awesomeness flowing.
Disclaimer
Valen Designs grants you a nonexclusive copyright license to use all programming code examples from which you can generate similar function tailored to your own specific needs.
Valen Designs, cannot guarantee or imply reliability, serviceability, or function of these programs.
All programs contained herein are provided to you "AS IS" without any warranties of any kind. The implied warranties of non-infringement, merchantability and fitness for a particular purpose are expressly disclaimed.



Comments
Nice. :)
Thank you! I just installed it in my sidebar so everyone can see that it works ;)
Hopefully people can get some use out of it and if anyone has questions or feature requests feel free to ask.
The plugin realy looks nice, great job ^^
Nice Work Derek.
Thanks everyone! I also plan on making it work with sidebar widgets in the near future for all those who are interested in that.
Nice work!
Awesome! Been hoping someone would take advantage of the api with a wp plugin. And add my vote to the widget!
As soon as I finish a couple things I need to do first, I’ll have the widget version up. I’d say a week or so.
looks great but when i activate the plugin all my content disappears.
)-:
after deactivating, everything works again. strange.
Do you have file_get_contents() enabled on your server and are you also running PHP 5.2+
I plan on making an edit to the plugin to work for previous PHP versions in the next few days.
I added support for PHP 4 all you need to do is upload the latest version. If you are still having issues make sure file_get_contents() is enabled. If you still have problems after it’s enabled message me with more info about your server.
Very handy :)
Is it possible to retrieve only popular files in wordpress category?
No. The way the API is set up does not allow for that kind of request, sorry.
Hi, how to set display only thumbnail, like yours?
Hi Derek, lovely plugin! Any chance of updating for CodeCanyon and the other new marketplaces?
I’ll have some free time in the next week or so and I’ll take a look at it then.
I bought your theme collection but the envato store don’t see in the sidebar like yours, i install your theme in wordpress 2.9.1, with the .htaccess and PHP 5 but don’t work. My server is 1&1. Let me know, Kuswanto have the same problem.
Can you email me the username and password and url of your website so I can take a look?
I send the user and pass in your contact form.
Hey,
I was wondering how I could add CodeCanyon to the Marketplace list.
Thanks !
I’ll be updating the plugin in a week or two.
Cool ! Thanks
Hey, The plugin works great! Thanks! One question: I was hoping to use this on multiple posts and pages calling different categories (wordpress themes from themeforest, code files from codecayon, etc.. ). I’m still working on my php; is this possible?
Love the plugin, I was wondering if you could tell me how to make it 3 like you have on your sidebar? I seem to only be able to get 2 rows of thumbnails.
Thanks,
Jamie
You probably don’t have the space for three, it’s set to float the items so it will fit as many as your site will allow.
Awesome plugin, will come in handy for affiliates.
Hey there, are there any workarounds on getting this plugin to work while using 1&1 as your host along with php5.
From what I have read, file_get_contents() is disabled by 1&1.
Any ideas? Thanks in advance!
Yeah, there is a workaround using curl but I have not set it up yet. Been pretty busy, sorry. I’ll try and get to it soon.
Hi Derek, when I installed the plugin, the comments section on the posts disappears and when I deactivated the plugin it goes back to normal. I’m not sure if it’s some conflicting codes. Can you email me a possible cause and solution?
What version of PHP are you running on your server?
Hi,
Great job on the plugin. I would like to know how can i use this in a post or in a page ?
thanks
I recently got the plugin setup on a few sites and afterward began working with jQuery Tools. I figured it might work out pretty well to use the accordion to load in the marketplace items so I started working on it.
The result is the following. I think I’ve got the basics relatively well covered, but I’m still new to plugin development and still a bit new to PHP in general. That said, the plugin works with all the themes and configurations I’ve thrown at it so I figured I’d just release it.
It uses your plugin here and if it’s not activated on a Wordpress setup, a message is displayed in the admin section. It’s available from the following.
http://thehacked.com/envato-marketplace-items-accordion-widget-for-wordpress/
Whoops, the url is as follows. I forgot I wanted the url shorter:
http://thehacked.com/envato-marketplace-items-accordion
Hi there,
Great Plugin! But what’s with the arrows “>>>>>>” that are showing up after the first ?
Go here and scroll down: http://lucascreative.com/services/
Thanks a bunch!
That’s because your CSS is adding a background image to the li element.
Awesome Stuff :)
hello, i got this error. Warning: Invalid argument supplied for foreach() in /home/learneve/public_html/wp-content/plugins/envato-marketplace-items/envato-marketplace-items.php on line 408
when i add this code to my side bar
http://learneveryday.net/ please help
my problem is solved just add api parameter to our user name
Hi Derek
This is an awesome lookign plugin. Unfortunately, I can’t get it to work. My host is 1and1, and I keep getting the error;
file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration
Any ideas on what to do to solve this?
thanks, have a great day
Jeff
Is there going to be an update regarding the Photodune Marketplace?
Is this site still being updated? I would like to know if there will be an update for this plugin to include the Photodune marketplace. Thanks!!!
Yes you did, but the IP you gave me does not work.
I change the IP, i make everything but don’t work. Please help me i need this in my website.
How to set display only thumbnail, like yours? Help me please.
I don’t understand, the plugin is set to show thumbnails as the default.
I tried going to your web site but it doesn’t load. I can’t help you if I can’t get to your web site, sorry.
What you need to fix this, i sent it the user and pass.
Kel, I don’t know what part you’re not understanding, I can’t look at your web site. The IP address you sent me via email does not work and it is literally impossible to fix something I can’t see. Please send me a URL or IP to a working site or I will not be able to help you.
Trackbacks