| 开发者 | myfeeds |
|---|---|
| 更新时间 | 2026年10月30日 03:07 |
| 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, and the cards keep themselves current. If your network gives you a product feed or a datafeed, MyFeeds can import it.
Install MyFeeds, open MyFeeds → Feeds, and paste the feed URL your affiliate network gave you. MyFeeds downloads the file, works out which column is the title, the price, the image and the affiliate link, and imports every product into your own database. CSV, TSV, XML and JSON all work, compressed or not, and nothing has to be uploaded by hand.
Open any post in the block editor and add the MyFeeds – Product Picker block. Search your imported catalogue by name, brand, colour or category, tick the products you want, and they appear as product cards with image, price and a buy button. No copying links, no HTML.
MyFeeds re-reads your feed every night and refreshes what is already in your posts, so the price a reader sees is the price the merchant is charging today. 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.
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.
Only products with valid data (title, price, image, and affiliate link) are imported. Check your feed source for incomplete entries.
No. All product data is stored locally in your WordPress database. The frontend makes no external API calls, so your site stays fast.
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 hands you a product feed URL you can download, MyFeeds will almost certainly read it. The plugin handles the common feed formats automatically and recognises the field structure that most networks use. For everything custom there's a manual mapping editor inside the plugin.
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. See External Services below. In short: your site downloads your product feed from the address you saved and measures the file size of a few product pictures. 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.