Plugin Directory

Test out the new Plugin Directory and let us know what you think.

WP eBay Ads

WP eBay Ads - allows you to easily insert eBay product listings into your WP posts, and earn commission from sales.

WP eBay Ads is installed like any other WordPress plugin.

1) Download the latest package from the downloads page (http://wordpress.org/extend/plugins/wp-ebay-ads/).

2) Upload the whole directory into your wordpress plugins directory (usually, yoursite/wp-content/plugins). The plugin must reside in a sub-folder called "wp-ebay-ads" (lower-case!) as supplied in the zip file, else it WON’T WORK

3) Go into the WordPress admin panel, find Plugins and WP eBay Ads should be listed. Click Activate to activate!

Using WP eBay Ads

There are two ways to use WP eBay Ads. Pick either 1) or 2) then move to step 3).

1) Place the following shortcode directly in your post.


2) You can also get the listings by placing the following code in your template file for your single post. Usually called single.php. Place it inside the loop. I like to place it right after the_content tag.

<?php if(function_exists('wp_ebay_ads')) {wp_ebay_ads($post->ID);}?>
  • After you either use the shortcode in your post or edit your template file then all you have to do is add a custom field to the post called ebay_search. Set the value for what you are searching for.


Name: ebay_search

Value: ipod

3) View the post and you should see the listing show up.

4) Go to the "WP eBay Ads" admin panel under the Settings dropdown, and modify what you would like.

5) For multi-author blogs, each author needs to enter their campaign ID on their profile page in the input field added at the bottom.


  • If the ebay_search custom field is not used or blank then the ads will not be displayed.

  • You can use the [wpebayads] shortcode method and the template code method at the same time.

More about search terms:

It can be difficult to target searches, so here are some more tips :

  • green lamp - this is logical, a space between the words means all products with "green" and "lamp" in the title.

  • "green lamp" - exact phrase match means the exact phrase "green lamp" must be found in the product title

  • lamp -green - AND NOT - searches for all occurrences of "lamp", but minus sign excludes any titles with "green". No green lamps here!

  • (lamp,"bedside table") - OR - brackets apply logical OR (also AND/OR I think) to all items in the brackets, whether single keywords or phrases, i.e. this will find all items with either "lamp" OR "bedside table".

  • ("old lamp","old telephone") -green - find all items with either "old lamp" or "old telephone" in the title, but excluding "green".

  • lamp -(book,CD) - this will search on "lamp" BUT will exclude "book" and/or "CD". This type of search is especially useful as it allows you to eliminate most of the junk/irrelevant items like "My Old Lamp CD" and narrow the search down to just actual lamps! Though some of these searches can get quite long, and there is a limit to the number of terms. Just experiment.

By the way, you are not suppose to put spaces after commas or minus signs.

There is more help on the relevant eBay page (http://pages.ebay.com/help/search/advanced-search.html?fromFeature=Advanced%20Search).

Requires: 2.5 or higher
Compatible up to: 4.4.6
Last Updated: 10 months ago
Active Installs: 200+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 33,3,1