Here is the documentation for the eBay Feeds for WordPress plugin.
- Premium Feature – Templates
- Premium Feature – Smart Links
- Further Support
- Bug Fixes
- Download the plugin here and upload
ebay-feeds-for-wordpressfolder to the
/wp-content/plugins/directory, or search for it in the Plugins > Add New repository.
- Activate the plugin through the ‘Plugins’ menu in WordPress
Before using the plugin for the first time, it’s recommended you head to the ebay Feeds for WordPress Settings page, and set it up to your needs.
Here’s the options on this page, and what each option does:-
- Default eBay Feed – This will allow you to define an eBay feed to use. This will be the fallback feed so that if it’s not present at all in the site, this is the feed to use.
- Default Number of Items to Show – This is the number of items to be shown by default. Can be changed.
- Open Links in a New Window – This will allow you to open links on the twitter feed in a new window if checked.
- Nofollow links – Should you wish to nofollow the links, for SEO purposes, click this box.
- Link to us (optional, but appreciated) – If you tick this box, you will link to us. Again, a totally optional field, but it does help get the plugin word out there.
- Item Div Wrapper Class (advanced) – This will add a class field to every item in your feed. This will allow you to style each item if you’re familiar with CSS.
- Switch Debug Mode On – If you’ve been having problems, you can switch debug mode on. This will output on the site any errors your feed may have.
- Fallback Text – If there are no items, or you have a problem, this will be what is displayed (if debug mode is switched off).
- Disable Feed Caching – By default, WordPress caches the feed up to one hour, speeding up your site. Click this box to disable feed caching.
- Enable Force Feed – By default, if the feed turns out to be invalid, you will end up with an error. WordPress can try and output the contents of the feed, so you can try to do so here, but this could lead to errors, so be careful.
- Load Images over SSL – If you have a secure (HTTPS) site, you will want to tick this box.
Within any post/page you can add a feed at any point using the [ebayfeedsforwordpress] shortcode. There are also a number of attributes:-
- Feed – The URL for the feed.
- Items – The number of items to show.
So for example, to create the following 1 item ebay feed for WordPress using the default feed like this:-
Add this to your post:-[ebayfeedsforwordpress feed="" items="1"]
Finally, if you’re using the visual editor, you can click on the eBay button.
4. Premium Feature – Templates
The premium version of eBay Feeds for WordPress allows Templates to be built for any feed. This will allow you to easily style each section of the site differently to each other. Here’s the options for this setup.
- Template Name – This is a unique name to identify each template on your site.
- Title Link Colour – The colour for the title of the item, that’s also a link.
- Text Colour – The colour for the main paragraph text.
- Link Colour – The colour of the link text.
- Link Background Colour – The colour of the link background colour, use this to make buttons.
- Number of columns per row for your eBay Listings – This will allow you to stack ebay listings next to each other 4 times. It will allow you to make your listings look like shop items.
- Hide Title – Do not display the title.
- Hide Image – Do not display the image.
- Hide Price – Do not display the price.
- Price Font Weight – Either Bold (default) or normal.
- Hide Bids – Hide the number of bids on the items so far.
- Hide End Date – Hide the end date of the item.
- Hide Bid/Buy Now Link – Hide the bid/buy now link.
- Hide Add to Watch List Link – Hide the “Add to Watch List” link.
- Buy Now Button Location – This will change the location of the Bid/Buy Now and the Add to Watch List link to either right of the item (default) or under the image.
- Links as Buttons – If you check this box, a simple button styling will be added. Useful to make your items look like shop items.
Click “Save Changes” and the template will be saved.
Once saved, your template will be added to the list:-
The text within the bracket is the “template slug”. Note that down for later.
You can also at this time set a Default Template. Use this to set the default template, should it not be specified.
The shortcode will have changed, as you can add an extra attribute – ‘template’. This will allow you display a different template or theme per ebay listing. You call it using the slug defined in the previous point.
So to display only 1 item with the “Shop Layout” template, you add the following.[ebayfeedsforwordpress feed="" items="1" template="shop-layout"]
5. Premium Feature – Smart Links
To take advantage of Smart Links, within eBay’s Partner Network, go to Campaigns. You should have a list of campaigns.
Note down the Campaign ID you wish to use. From there, head to eBay Feeds for WordPress in the Settings menu within the WordPress Dashboard and make sure the ‘Add Smart Links Code?’ check box is clicked. Add your Campaign ID as well.
Now, test to make sure you add a link to the eBay home page. If this changes to your affiliate link (it usually starts with rover.ebay.com), then the code will have worked.
6. Further Support
Support can be provided in one of two ways:-