
內容簡介
總結:這個 WordPress 外掛可在您的網站導航之間添加平滑過渡效果。這是“View Transitions”的分支版本。添加“page-animated”類別到您希望具有轉換動畫的文章或頁面。該外掛會檢查分類能力並將能力添加到尚未啟用的頁面。
問題與答案:
1. 這個 WordPress 外掛的主要功能是什麼?
- 提供平滑的過渡效果,使網站導航間的切換更流暢。
- 只有添加了“page-animated”類別的文章/頁面才會獲得增強的過渡效果。
2. 這個外掛支援的動畫類型有哪些?
- 淡入淡出(Fade)
- 元素從不同方向滑入(Slide)
- 帶有可定制偏移的滑動效果(Swipe)
- 具有角度控制的擦除效果(Wipe)
3. 如何在文章或頁面上設置增強的過渡效果?
- 安裝並啟用外掛
- 將“page-animated”類別添加到您希望有增強過渡效果的任何文章或頁面
- 在“設定 > 閱讀”中配置動畫和選擇器的設置
- 測試在頁面之間導航以查看平滑的過渡效果。
外掛標籤
開發者團隊
② 後台搜尋「Conditional View Transitions」→ 直接安裝(推薦)
原文外掛簡介
Adds smooth transitions between navigations to your WordPress site. This plugin is a fork of “View Transitions”. Note: add “page-animated” category to post or page you want to have a transition animation other than the default fade. This plugin checks for taxonomy capability and adds the capability to pages if not already enabled.
Key Features:
* Conditional animation support – only pages/posts with the “page-animated” category get enhanced transitions
* Multiple animation types including fade, slide, swipe, and wipe effects
* Automatic category taxonomy support for pages
* Browser compatibility detection
* Customizable CSS selectors for different themes
Browser support
Cross-document view transitions are supported in a variety of browsers, including Chrome, Edge, and Safari. Users with browsers that currently do not support it should not see any adverse effects when the plugin is active. They will simply not benefit from the feature and continue to experience the traditional hard transitions between URLs.
Please refer to “Can I use…” for a comprehensive overview of browser support for the feature.
How to Use
Install and activate the plugin
Add the “page-animated” category to any post or page you want to have enhanced transitions
Configure settings in Settings > Reading to customize animations and selectors
Test navigation between pages to see the smooth transitions
Animation Types
Fade – Smooth fade in/out (default)
Slide – Elements slide in from different directions
Swipe – Swipe effect with customizable offsets
Wipe – Wipe effect with angle control
