內容簡介
Design Cart Pajax GPL 外掛為 WordPress 網站增添動畫過渡效果,提供六種靈感來自 Codrops 的轉場效果,並可選擇覆蓋層和文字顏色,讓頁面切換更加流暢且具吸引力。
【主要功能】
• 六種頁面轉場效果:Cielrose、Faint、MorphSVG、Bloom、Truus、Leandra
• 可自訂覆蓋層和文字顏色
• 動畫速度可調整,範圍從 25% 到 200%
• 支援 PJAX 以便於內部連結的快速加載
• 管理介面可預覽選擇的轉場效果
• 自動回退至正常頁面加載模式
外掛標籤
開發者團隊
原文外掛簡介
Design Cart Pajax GPL adds animated transitions between WordPress pages. Choose one of six Codrops-inspired effects, set overlay and text colors, and optionally load compatible pages without a full reload.
Features
Six page transitions: Cielrose, Faint (WebGL), MorphSVG, Bloom, Truus, and Leandra
Overlay and text colors from the settings screen
Animation speed from 25% to 200% (100% matches the original timing)
Optional PJAX for compatible internal links
Preview of the selected transition in the admin screen
Automatic fallback to a normal page load for carts, checkouts, accounts, forms, and excluded paths
MIT-licensed anime.js and Three.js (no GSAP)
WooCommerce cart, checkout, and account pages keep regular navigation. Links marked with data-no-pjax, downloads, anchors on the same page, and the browser Back/Forward buttons also use a full load.
Integration
dcpajax:before on document (cancelable): detail.url, detail.current, detail.next. Call preventDefault() to force a full navigation.
dcpajax:after on document: fired after content replacement, with detail.url and detail.container.
PHP filter design_cart_pajax_gpl_allowed: return false to disable PJAX for a page.
Reduced-motion system settings disable animations and link capture. The Faint effect requires WebGL2; without it the plugin uses a normal page load.
Credits
Transition design by Iqbal Muthahhary (Codrops). WordPress integration by Paweł Nosko / Design Cart. Third-party notices are in third-party.txt.
