| 开发者 |
ftpwebdesign
ftpwebdesign.com |
|---|---|
| 更新时间 | 2026年5月1日 18:27 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.8 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[aboutbuzz_reviews code="ABZ-XXXX-XXXX-XXXX-XXXX"] anywhere in your content and the plugin handles fetching, caching, and rendering.
/wp-content/plugins/aboutbuzz-stories-embed, or install it via the Plugins screen in WordPress.[aboutbuzz_reviews code="YOUR_CODE"] to any post or page. Get your code from your AboutBuzz dashboard.Sign in to your AboutBuzz dashboard at https://aboutbuzz.com or contact support.
Yes — it renders as a single-row, scroll-snapping carousel that adapts to viewport width.
acf.jezik field (returned by /wp-json/aboutbuzz/v1/stories/by-code), so a Slovenian review shows "Ocena testiranega izdelka" while an English review on the same page shows "Verified product review". Six languages are supported out-of-the-box, with both Slovene-language and English-language native names accepted as input values:Slovenščina / Slovenian) → "Ocena testiranega izdelka"Angleščina / English) → "Verified product review"Ruščina / Russian) → "Проверенный отзыв о товаре"Nemščina / German) → "Verifizierte Produktbewertung"Latviščina / Latvian) → "Apstiprināta produkta atsauksme"Turščina / Turkish) → "Doğrulanmış ürün yorumu"__('Verified product review', …) translation, so behavior on existing sites is unchanged when the API has no language data.language added to the sanitized story array. A new language key (canonical 2-letter code) is now stored in the per-story sanitized array and the 5-minute response cache. A migration guard discards any 2.0.1 transient entry that's missing this key on first read after upgrade, so the new label kicks in immediately on the next render — no manual cache flush required.--aboutbuzz-text changed from #545454 to #404040, and --aboutbuzz-accent changed from #007cba to #01798C (new AboutBuzz teal). Affects body text and any element bound to the accent variable (logo text, etc.).2px to 3px, and the active arc color now uses the new accent #01798C instead of the previous #3498db.@media (max-width: 600px)). The narrower card was causing the rating row to overflow and the star icons to wrap onto a new line on small screens. scroll-padding-inline was updated in lockstep so scroll-snap centering still works..row-0 / .ab-info-row now declares flex-wrap: nowrap with gap: 8px. The rating-stars container is inline-flex with flex-shrink: 0 and white-space: nowrap, and .aboutbutzz_like_wrapper is also flex-shrink: 0. Stars and the like button stay on a single row regardless of card width.aboutbuzz_stories_bycode_<md5> transient previously stored the full JSON response body as a string, meaning any fields the server returned (including ones this plugin does not render) would sit in wp_options for up to 5 minutes per activation code. The transient now stores only the allowlisted $sanitized_posts array (ID, rating, vote_count, watermark_video, product_source, brand, and the video URL) that the template actually consumes. Extra server-returned fields are dropped before caching.post_title field from the sanitized story array. It was being copied from the API response but never rendered anywhere in the template. Since post_title on the AboutBuzz side can contain reviewer names, stripping it here removes that field from the client's in-memory and cached representation of each story.?abz_nocache=1 admin bypass are unchanged.aria-label and alt strings; accessibility labels are now generic ("Predvajaj video oceno" / "Predogled video ocene"). Translations (.pot, sl_SI, en_US) updated to match the new msgids.@scope for isolation, response caching added, new Product Source badges, admin diagnostics for error paths.
product_source ACF field; assets bundled locally.#FFB600, empty outlined #C7C7C7).@scope (.aboutbuzz-reviews-host) { ... }; CSS custom properties exposed for theming (--aboutbuzz-card-bg, --aboutbuzz-text, --aboutbuzz-muted, --aboutbuzz-accent, --aboutbuzz-star-filled, --aboutbuzz-star-empty, --aboutbuzz-radius, --aboutbuzz-video-height).?abz_nocache=1 bypass.ABOUTBUZZ_EMBED_VERSION constant drives enqueue cache-busting and API User-Agent.aria-label with the numeric rating; individual SVGs are aria-hidden. Decorative check alt emptied..pot, en_US.po, sl_SI.po updated; .mo files recompiled..playbutton, .heart-icon, .vote-button-overlay, .vote-count, .voting, .video-preview) will continue to do nothing..ab-info-row { display: grid }, the flex-based layout will break — remove the conflicting rule.data-no-lazy, data-skip-lazy, skip-lazy, no-lazyload to the first image..pot template, sl_SI and en_US catalogs, translatable ARIA labels.[aboutbuzz_smart_stories] → [aboutbuzz_reviews]. Auto-detects brand from the activation code; code is the only parameter.all: unset reset.