RA Widgets Animate Plugin
Animate widgets using Animate on Scroll library.
RA Widgets Animate is a WordPress plugin that adds additional widget fields into existing widget forms using the latest Animate On Scroll script to render animation. If you’re using SiteOrigin Panels, the plugin also adds ‘Animation’ tab to Widget Styles.
Features
- Animate almost all of your widgets
- Animate On Scroll support
- Supports SiteOrigin Panels Widget Styles
- Ability to choose animation type
- Ability to add additional animation values using the built-in
rawa_animations
filter - Ability to choose anchor placement
- Ability to change anchor element
- Ability to change easing time
- Ability to change animation offset
- Ability to change animation duration
- Ability to change animation delay
- Ability to set animation once
- Ability to disable animation on certain devices and viewports
- Set global settings via plugin settings
- Enable/disable plugin scripts and styles via plugin settings
Installation
- Upload the plugin files to the
/wp-content/plugins/ra-widgets-animate
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through ‘Plugins’ screen in WordPress.
Screenshots
'Animation' fields inside 'Widgets' screen in WordPress.
'Animation' tab settings in SiteOrigin Panels.
'Animation' tab settings when opened in SiteOrigin Panels.
'RA Widgets Animate' settings page.
FAQ
Do I need to install SiteOrigin Panels to be able to use the animation?
No, the fields will attached itself to existing widgets on ‘Widgets’ screen in WordPress. If you have SiteOrigin Panels installed, the ‘Animation’ tab will be added to SiteOrigin Panels ‘Widget Styles’.
How can I set Animate on Scroll settings globally without having to edit each widgets?
You can set the global settings through Settings > RA Widgets Animate > Global Settings
.
I have Animate on Scroll already, how can I disable the AOS script on your plugin to prevent conflict?
You can disable Animate on Scroll scripts and styles through Settings > RA Widgets Animate > Script Settings
.
I want to add additional animation values, how can I do that?
As of version 1.1.7
, you can now add custom animation values using the built-in rawa_animations
filter. Add the following code in your functions.php file.
<?php add_filter( 'rawa_animations', function( $animation ) { new_animation = array( 'custom-animation' => __( 'Custom Animation' ), ); return array_merge( $animation, $new_animation ); } );
Then, add the following to your css file:
[data-aos="custom-animation"] { transform: skewX(45deg); opacity: 0; transition-property: transform, opacity; } [data-aos="custom-animation"].aos-animate { transform: skewX(0); opacity: 1; }
To learn more about setting custom animation values check out this pen from the Animate on Scroll author.
Changelog
1.1.9.1
- Fixed undefined constant
- Added missing js, css files
1.1.9
- Updated Animate on Scroll to version 2.3.4.
- Fixed Animate on Scroll disable on devices implementation.
- Updated translation.
1.1.8
- Updated Animate on Scroll to version 2.3.0.
- Updated translation.
- Updated author URI.
1.1.7
- Added custom animation filter to allow additional animation values.
1.1.6
- Added custom viewport selection in plugin settings.
- Modified plugin tags.
1.1.5
- Changed style and script filenames and paths.
- Fixed
.rawa-fields
from closing on widgets update
. - Added admin script and style to
Customizer
screen. - Fixed
disable
object name returning array instead of string. - Admin style changes.
1.1.4
- Changed donate link, added settings page screenshot.
1.1.3
- Added missing js files, removed unneeded files.
1.1.2
- Renamed app.js to rawa.js, trying to fixed missing js files on SVN commit
1.1.1
1.1
- Added settings page, added app.js script, modify css build path, grammar fixes, code cleanup, updated translation.
1.0.7
- Prevent
.rawa-fields
from closing on widgets save, added back deleted files, migrate to Yarn from Bower.
1.0.6
- Regex fix, removed unneeded files.
1.0.5
- Added additional fields, fixed bug with widgets with no css selectors, updated npm packages
1.0.4
- Code cleanup, moved siteorigin related js, css/markup changes, translation related changes
1.0.3
- Code cleanup, moved animation, placement, easing into their own function
1.0.2
- Removed unneeded line of codes
1.0.1
- Fixed float issue with two-column widgets
1.0