Envato Marketplace Items

October 7th 2009

marketplaceThe 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

    • Derek Herman says:

      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.

  1. Omar says:

    The plugin realy looks nice, great job ^^

  2. Derek Herman says:

    Thanks everyone! I also plan on making it work with sidebar widgets in the near future for all those who are interested in that.

  3. VVOR says:

    Nice work!

  4. Evan Mullins says:

    Awesome! Been hoping someone would take advantage of the api with a wp plugin. And add my vote to the widget!

  5. Oshik Ernst says:

    looks great but when i activate the plugin all my content disappears.
    )-:
    after deactivating, everything works again. strange.

  6. Ryan says:

    Is it possible to retrieve only popular files in wordpress category?

  7. Kuswanto says:

    Hi, how to set display only thumbnail, like yours?

  8. Hi Derek, lovely plugin! Any chance of updating for CodeCanyon and the other new marketplaces?

  9. Kel says:

    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.

  10. Hey,

    I was wondering how I could add CodeCanyon to the Marketplace list.
    Thanks !

  11. Dustin Goerndt says:

    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?

  12. Jamie says:

    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

  13. Awesome plugin, will come in handy for affiliates.

  14. Angel Romero says:

    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!

  15. Fendi says:

    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?

  16. Yasush says:

    Hi,
    Great job on the plugin. I would like to know how can i use this in a post or in a page ?

    thanks

  17. DavidM says:

    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/

  18. Lucas says:

    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!

  19. 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

  20. my problem is solved just add api parameter to our user name

  21. Jeff says:

    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

  22. Chris says:

    Is there going to be an update regarding the Photodune Marketplace?

    • Chris says:

      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!!!

  23. Derek Herman says:

    Yes you did, but the IP you gave me does not work.

  24. Kel says:

    I change the IP, i make everything but don’t work. Please help me i need this in my website.

  25. Kel says:

    How to set display only thumbnail, like yours? Help me please.

  26. Derek Herman says:

    I don’t understand, the plugin is set to show thumbnails as the default.

  27. Derek Herman says:

    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.

  28. Kel says:

    What you need to fix this, i sent it the user and pass.

  29. Derek Herman says:

    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.

Leave a Reply