Descriere
The Item Box for eBay UK plugin allows you to showcase items from eBay.co.uk on your WordPress site using simple shortcodes. This plugin is perfect for bloggers, affiliate marketers, and anyone who wants to highlight specific eBay listings on their site.
Features
- Display individual or multiple eBay items using shortcodes.
- Customisable output with item title, image, and a link to the listing.
- Easy setup with a settings page to enter your eBay API credentials.
- Secure API token management with automatic token refresh.
- Lightweight and fast to ensure your site remains speedy.
Shortcode Usage
Use the following shortcode to display eBay items:
[ebay_item item_id=”123456789012″]
To display multiple items, separate the item IDs with commas:
[ebay_item item_id=”123456789012,234567890123,345678901234″]
How to Create eBay API Credentials
To use this plugin, you need a Client ID and Client Secret from eBay UK. Follow these steps to create them:
- Visit the eBay Developer Program website.
- Log in with your eBay account or create a new developer account.
- Navigate to My Account > Application Keys.
- Click Create a Keyset and select the environment (Sandbox for testing or Production for live use).
- Fill in the required details and submit the form.
- Once approved, your Client ID and Client Secret will be displayed. Copy these and enter them into the plugin’s settings page.
External API
This plugin uses the eBay API to fetch item data. By using this plugin, you agree to eBay’s API terms of use: https://developer.ebay.com/terms
License
This plugin is licensed under the GPLv2 or later. For details, see https://www.gnu.org/licenses/gpl-2.0.html.
Capturi ecran
Instalare
- Upload the plugin files to the
/wp-content/plugins/ebay-uk-item-box/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Navigate to „Settings > eBay UK API Settings” to enter your eBay API credentials.
- Use the shortcode
[ebay_item item_id="ITEM_ID"]
in your posts or pages.
Întrebări frecvente
-
How do I get my eBay API credentials?
-
Visit eBay’s Developer Portal to register for API access: https://developer.ebay.com
-
Why isn’t the price displayed?
-
The plugin does not display item prices due to inconsistencies in API pricing data. Users can view the price directly on the eBay UK page by clicking the item link.
-
Can I style the output?
-
Yes! The plugin includes a basic CSS file (
styles.css
) that you can override in your theme or custom CSS file.
Recenzii
Nu există nicio verificare pentru acest modul.
Contributori și dezvoltatori
„Item Box for eBay UK” este un software open-source. La acest modul au contribuit următoarele persoane.
ContributoriTradu „Item Box for eBay UK” în limba ta.
Te interesează dezvoltarea?
Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.
Istoric modificări
2.5
- Resolved escaping issues for image output.
- Addressed WordPress Plugin Checker compliance for image handling.
2.4
- Removed price display due to inaccuracies in the fetched data.
- Improved eBay UK-specific URL handling.
2.3
- Added nonce validation for secure form submissions.
- Implemented token expiration handling with automatic refresh.
- Fixed external linking to ensure the correct eBay UK URLs.
2.2
- Added support for displaying multiple eBay items via shortcode.
- Enhanced plugin settings page.