Description
This plugin implements support for cross-document view transitions in WordPress. This effectively replaces the hard transitions when navigating from one URL to the other with a smooth animation, by default using a fade effect.
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.
Installation
Installation from within WordPress
- Visit Plugins > Add New.
- Search for View Transitions.
- Install and activate the View Transitions plugin.
Manual installation
- Upload the entire plugin folder to the
/wp-content/plugins/
directory. - Visit Plugins.
- Activate the View Transitions plugin.
After activation
- Visit the Settings > Reading admin screen.
- Use the controls in the View Transitions section to configure view transitions.
FAQ
-
Where can I submit my plugin feedback?
-
Feedback is encouraged and much appreciated, especially since this plugin may contain future WordPress core features. If you have suggestions or requests for new features, you can submit them as an issue in the WordPress Performance Team’s GitHub repository. If you need help with troubleshooting or have a question about the plugin, please create a new topic on our support forum.
-
Where can I report security bugs?
-
The Performance team and WordPress community take security bugs seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.
To report a security issue, please visit the WordPress HackerOne program.
-
How can I contribute to the plugin?
-
Contributions are always welcome! Learn more about how to get involved in the Core Performance Team Handbook.
Reviews
Contributors & Developers
“View Transitions” is open source software. The following people have contributed to this plugin.
Contributors“View Transitions” has been translated into 4 locales. Thank you to the translators for their contributions.
Translate “View Transitions” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.0
Features
- Add view transitions for WP Admin. (2038)
Enhancements
- Allow control over view transition animation duration. (2051)
- Make
plvt_inject_animation_duration()
reusable for all transition types, including default fade. (2078) - Make settings section title properly translatable. (2042)
Bug Fixes
- Inform the user if the current theme explicitly supports view transitions with its own configuration, and add a UI control to make overriding that configuration via settings optional. (2037)
- Set default view transition duration to 400 for better alignment with browser default. (2081)
- Respect prefers-reduced-motion settings. (2068)
1.0.1
- Fix view transitions setting values not being saved. (2036)
1.0.0
- Initial release. (1997)