| 开发者 | myfeeds |
|---|---|
| 更新时间 | 2026年11月20日 04:16 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
myfeeds-affiliate-feed-manager folder to the /wp-content/plugins/ directory, or install the plugin directly from the WordPress plugin screen.Anyone in affiliate marketing who promotes other companies' products and earns a commission on the sale, from solo bloggers and niche sites to large publishers, magazines and deal sites. They use MyFeeds to show those products as cards inside their posts, with an image, the price and their affiliate link. If your network gives you a product feed or a datafeed, MyFeeds can import it, and Amazon products work by link, without Amazon's API.
You choose one: a product feed (by link or file), Rakuten Advertising (with as many of its advertisers as you like), or Amazon's API. Amazon products by link or ASIN work beside any of them. To use a different source, choose "Change source" on the Feeds screen: the products of the old source then leave your published posts, as when a feed is deleted, and the Content health card lists those posts.
Install MyFeeds, open MyFeeds → Feeds, choose + Add a feed and paste the feed link your affiliate network gave you, or upload its file. MyFeeds works out which column is the title, the price, the image and the affiliate link, and imports the products into your own database. CSV, TSV, XML and JSON all work, compressed or not. A feed link is read again every night.
Open any post in the block editor and add the MyFeeds – Product Picker block. Search your products, narrow them by brand, color, category or shop, tick the ones you want, and choose how they show: product grid, carousel, recommendation card or comparison table. Every card carries your affiliate link. No copying links, no HTML. For a photo with clickable products, add the MyFeeds Look block.
MyFeeds re-reads your feed link every night and refreshes what is already in your posts, so a reader sees the price from your merchant's latest update. An uploaded file stays as it was until you upload a new one. A weekly full import catches products that were added or withdrawn. You can also sync any feed by hand at any time.
Most of the large ones do: AWIN, Tradedoubler, CJ Affiliate, Impact, Rakuten Advertising, Pepperjam and FlexOffers all offer product feeds, and so do many merchants directly. Some hand you a link, some a file to download. Look in your network's dashboard for a section called "Product feeds", "Datafeeds" or "Create a feed". MyFeeds takes either: paste the link or upload the file. Rakuten Advertising can also be connected through its API (+ Add API source).
This plugin puts product cards inside your posts and pages. A full storefront with its own categories, filters and sorting is a paid feature and not part of this plugin.
It depends on the feed size. A feed with 10,000 products typically takes 2–5 minutes. Imports run in the background via Action Scheduler, so you can keep working while they process.
MyFeeds imports every row from which it can read a product number. Rows without one are skipped, and a number that appears twice in a feed is one product. If many products are missing, open the mapping editor and check which column holds the product number.
Not with a feed or Rakuten: the products are stored in your WordPress database, and a page with product cards is built from there, without a request to your affiliate network. With Amazon's API as your product source, a page can wait for Amazon: your server asks Amazon for product data when a page with Amazon products is shown and the stored data is missing or the price is more than an hour old. While the page is built that is at most four requests per block, about a second apart, for the products whose data is missing; your readers' browsers then ask your own site for the newer prices. Amazon products added without the API cause no request. External Services below lists everything the plugin contacts.
Yes, it works with any WordPress theme that supports the Gutenberg block editor (WordPress 5.8+).
No. MyFeeds requires the block editor.
If your affiliate program gives you a product feed, as a link or a file, MyFeeds can usually read it: it recognizes the field structure most networks use, and for anything unusual there is a mapping editor. Rakuten Advertising can also be connected through its API, and Amazon products work by link or through Amazon's API.
The automatic mapping is written for the feed formats these networks document. The plugin isn't built around any single network though: it reads the file your program hands you, whatever the network is called. CSV, TSV, XML and JSON all work, compressed or not. If a column is named something the plugin has never seen, the mapping editor lets you point it at the right field yourself.
Yes. The nightly sync refreshes every product it finds on the site: MyFeeds blocks in posts, pages and any public post type, in synced patterns, in block widgets and in block-theme templates. Products a theme or plugin shows by itself (its own table, a template, a post type that keeps them in custom fields) can be announced with the myfeeds_active_product_ids filter: return the list you were given plus the external_id of each product you show, and the nightly sync keeps their price and stock current. The filter can only add products, never remove the ones your blocks hold. The myfeeds_discovery_post_types filter narrows or widens the post types that are read.
Yes. MyFeeds needs no cache plugin and works the same without one. When a site has one, MyFeeds clears the cached copies of the posts that show products after every import, and only those: never the front page or the whole site. It does this for BigScoots Cache, WP Rocket, LiteSpeed Cache, SiteGround Speed Optimizer, W3 Total Cache, WP Super Cache, WP Fastest Cache, Cache Enabler, Breeze, Nginx Helper, Hummingbird and WP-Optimize. Any other cache, a host's own cache or a CDN can listen to the myfeeds_product_posts_changed action, which hands over the addresses of those posts after every import.
Yes. What your site contacts depends on your product source; External Services below lists every case. In short: your site downloads your product feed from the address you saved (or, with Rakuten Advertising as your product source, asks Rakuten's API for your advertisers' products; with Amazon's API as your product source, asks Amazon's API for product data), measures the file size of a few product pictures, and reads a Look photo from a web address when you paste one in the editor. The pictures themselves stay with the merchant, and your readers' browsers load them from there.
myfeeds_product_posts_changed action.myfeeds_active_product_ids filter, and the nightly sync keeps them current.