Working with the New “Envato Marketplace Items” WordPress Plugin

Just a few days ago, Envato’s very own WordPress ninja, Derek Herman, released a new “Envato Marketplace Items” plugin for WordPress. Now, with only a few minutes worth of work, you can display your recent files, popular files, and even files according to a specific category on your site. Not only that, but you can additionally attach your referral id to each item and earn 30% of your referred user’s first deposit!

In only a few steps, I’ll show you exactly how to implement this plugin into your own project.

Screencast Version

Written Version

Step 1: Install the Plugin

We begin by accessing the control panel of our WordPress installation. Next, within the sidebar, we choose “Add New”, under the “Plugins” widget.

Add New Plugin

Once the page loads, search for “Envato Marketplace Items.”

Envato Marketplace Item Option

Look far to the right, and click “Install.” A modal box will pop up where you can then officially install the plugin. Once the installation has completed, simply click “Activate!”

Step 2: The Settings

The next step is to choose your settings. Don’t worry, it’s simple. Refer back to the sidebar of your control panel, scroll to the bottom, and under “Settings,” choose “Envato Marketplace.”

Sidebar Option

Most of the options are self-explanatory. You have the ability to choose your marketplace, select which kinds of files to display, and the text for the heading of your widget. An additional nifty little feature is the ability to append your referral id to the end of every link. This means that you’ll receive 30% from your referred user’s first deposit! Please refer here for more details.

Settings

When choosing which files to display on your blog, you have three options:

  1. Files According to User
  2. Files by Category
  3. Popular Files

If working with one of the first two options listed above, you’ll need to fill out the following textbox, “API Set Parameter.” The value within this box should reflect your desired outcome. For example, if I wanted to display only WordPress templates, I would type “wordpress.” Alternatively, if I only wanted to display my personal items, I would simply type in my username.

Step 3: Add the Code Snippet

The final step is to place the provided code snippet (available in the “Envato Marketplace” settings page) anywhere within our project:

<?php if (function_exists('envato_marketplace_items')) { envato_marketplace_items(); } ?>

Most likely, you’ll choose to place this snippet somewhere within your sidebar, as I have.

Coda Example

Once you’ve added this snippet, save it, and upload the revised file to your server! That’s all! It’s as easy as that.

Final Product

Questions?

As always, if you have any questions, feel free to leave a comment and we’ll try help you as soon as possible!

Please note that this tutorial assumes that you’re using WordPress 2.8 or newer. If you happen to be using an older installation, you’ll need to manually download the files, and then upload them to the “Plugins” folder of your WordPress installation.


15

Comments

Discuss This Post on the ThemeForest Forums