Content of the article
If your version of the plugin exists Field - Custom animation :
If your version of the plugin does not exist the Field "Custom animation" - read this please
- Create directory "animations" in your current theme(/child). Example:
- Create new CSS file. Attention! The file name must be the same as the name of the animation.
- Create animation. How to create CSS animation. Or use this CSS3 Keyframes Animation Generator. Example:
- Paste name of the CSS file in fild " Name custom animation " and check this " Use custom animation ":
Alternatively add a custom animation
- Create new CSS file. Attention! The file name must be the same as the name of the animation.
- Create animation. How to create CSS animation. Or use this CSS3 Keyframes Animation Generator. Insert this code in the CSS file
- Paste the CSS file in derectory: \plugins\wordpress-animator\css\animations\
- In file functions.php of the current theme insert this code:
function add_custom_animation($arr) { $arr['name_animation']="Label animation name"; return $arr; } add_filter('animator_animation_names', 'add_custom_animation' );