PluginProbe
WP Ultimate Post Grid / 3.3.0
WP Ultimate Post Grid v3.3.0
4.1.1 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.8 1.9 2.0 2.1 2.2 2.3 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.2 3.0.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 All 32 releases
wp-ultimate-post-grid / templates / settings / group-animation.php

group-animation.php in WP Ultimate Post Grid 3.3.0, at templates/settings/group-animation.php

53 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 $group_animation = array(
4 'id' => 'animation',
5 'name' => __( 'Animation', 'wp-ultimate-post-grid' ),
6 'icon' => 'sliders',
7 'subGroups' => array(
8 array(
9 'name' => __( 'Grid Animation', 'wp-ultimate-post-grid' ),
10 'settings' => array(
11 array(
12 'id' => 'grid_container_animation_speed',
13 'name' => __( 'Container Animation Speed', 'wp-ultimate-post-grid' ),
14 'description' => __( 'Duration of the container height adjustment.', 'wp-ultimate-post-grid' ),
15 'type' => 'number',
16 'suffix' => __( 'milliseconds', 'wp-ultimate-post-grid' ),
17 'default' => 800,
18 ),
19 array(
20 'id' => 'grid_animation_speed',
21 'name' => __( 'Item Animation Speed', 'wp-ultimate-post-grid' ),
22 'description' => __( 'Duration of the item animation.', 'wp-ultimate-post-grid' ),
23 'type' => 'number',
24 'suffix' => __( 'milliseconds', 'wp-ultimate-post-grid' ),
25 'default' => 800,
26 ),
27 array(
28 'id' => 'grid_animation_show',
29 'name' => __( 'Animation on Show', 'wp-ultimate-post-grid' ),
30 'description' => __('Example', 'wp-ultimate-post-grid') . ': opacity: 1, transform: scale(1)',
31 'type' => 'text',
32 'default' => 'opacity: 1',
33 ),
34 array(
35 'id' => 'grid_animation_hide',
36 'name' => __( 'Animation on Hide', 'wp-ultimate-post-grid' ),
37 'description' => __('Example', 'wp-ultimate-post-grid') . ': opacity: 1, transform: scale(1)',
38 'type' => 'text',
39 'default' => 'opacity: 0',
40 ),
41 array(
42 'id' => 'grid_animation_stagger',
43 'name' => __( 'Item Animation Delay', 'wp-ultimate-post-grid' ),
44 'description' => __( 'Staggers item transitions, so items transition incrementally after one another.', 'wp-ultimate-post-grid' ),
45 'type' => 'number',
46 'suffix' => __( 'milliseconds', 'wp-ultimate-post-grid' ),
47 'default' => 0,
48 ),
49 ),
50 ),
51 ),
52 );
53