| 开发者 | monkeydesign2026 |
|---|---|
| 更新时间 | 2026年6月16日 21:37 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.8 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
loading="eager" and fetchpriority="high" — improves LCP
Accessibility
<button> elements with aria-labelprefers-reduced-motion (disables autoplay and transition animations)your-theme/product-carousel/card.phpproduct-carousel/templates/card.phpapply_filters( 'mdpc_card_html', $html, $product, $settings ).
monkeydesign-product-carousel folder to /wp-content/plugins/Yes. The plugin only uses Elementor's public widget API, which is part of the free version.
Yes. WooCommerce must be active — the plugin uses its product data and query functions.
No. Swiper.js and the carousel CSS only load on pages where you actually place the widget. No jQuery. No CDN requests — all assets are bundled with the plugin.
Yes. Copy monkeydesign-product-carousel/templates/card.php to your-theme/product-carousel/card.php and modify it freely.
It queries the total_sales product meta and caches the result in a transient for 1 hour by default. You can change the cache duration with the mdpc_best_sellers_cache_seconds filter.
Each widget instance has its own source, limit, orderby, and order settings. You can also filter the WP_Query arguments programmatically with the mdpc_query_args filter.
Accessibility is treated as a baseline free feature — it is never locked behind PRO. The widget uses Swiper's built-in a11y module, real <button> elements for navigation arrows, keyboard navigation, visible focus styles, and honours prefers-reduced-motion.
Use the WordPress.org support forum for the free version. PRO licence holders have priority email support via the MonkeyDesign dashboard.
loading="eager" and fetchpriority="high".prefers-reduced-motion support in both CSS and JS.mdpc_card_html and mdpc_query_args developer filters.