| 开发者 | asymetria |
|---|---|
| 更新时间 | 2026年9月26日 15:00 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Attributes block replaces only the attributes it names, and an attribute that
is already on the product keeps its position, its visibility and its "used for
variations" flag.
Attributes are resolved properly. The label from the sheet is matched against
the shop's global attributes by label, slug and taxonomy name. On a match the values
become real terms and the product is attached to them, so layered navigation,
attribute filters and attribute archives can see it. If you tick "Create global
attributes the shop does not have yet", missing ones are created for you; otherwise
the attribute is stored as a local one, exactly as before.
Supported SEO plugins: Yoast SEO, Rank Math, SEOPress and All in One SEO. The
active one is detected automatically and named in the meta box.
Prices, stock, SKU and images are deliberately out of scope - this plugin fills
editorial fields and never touches what your shop sells or how much for.
wp-content/plugins/.Each section header sits on its own line, a trailing colon is optional and case does
not matter. Everything until the next recognised header belongs to that section:
`Product Title
Ethiopia Yirgacheffe Single-Origin Coffee - Whole Bean 340g
Attributes
Roast Level: Light-Medium
Tasting Notes: Jasmine | Citrus | Black Tea
Tags
single-origin, ethiopia, whole bean`
Attribute values accept | or ,; tags accept commas or new lines.
Only the sections your sheet actually contains are written. Anything the sheet does not mention is left alone.
Either the box for creating global attributes was not ticked, or the product already had a local attribute with that name - in which case it is filled in place rather than gaining a global twin next to it. The notice after the import says which of the two happened for every line.
Yes, with a filter:
add_filter( 'psifw_create_missing_attribute', '__return_false' );
Not if you are allowed to post unfiltered HTML. Anyone else gets the same wp_kses
treatment the editor applies, so a sheet cannot smuggle markup past the rules that
already apply to that user.
unfiltered_html capability go through wp_kses_post().