PluginProbe
WP Ultimate Post Grid / 3.8.0
WP Ultimate Post Grid v3.8.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-general.php

group-general.php in WP Ultimate Post Grid 3.8.0, at templates/settings/group-general.php

44 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 $group_general = array(
4 'id' => 'general',
5 'name' => __( 'General', 'wp-ultimate-post-grid' ),
6 'icon' => 'cog',
7 'subGroups' => array(
8 array(
9 'name' => __( 'Customize Link & Image', 'wp-ultimate-post-grid' ),
10 'description' => __( 'You can set a custom link or image for every item in the grid by editing the individual post.', 'wp-ultimate-post-grid' ),
11 'settings' => array(
12 array(
13 'id' => 'meta_box_post_types',
14 'name' => __( 'Post Types', 'wp-ultimate-post-grid' ),
15 'description' => __( 'Which post types do you want to enable this option for?', 'wp-ultimate-post-grid' ),
16 'type' => 'dropdownMultiselect',
17 'optionsCallback' => function() { return get_post_types( '', 'names' ); },
18 'default' => array( 'post', 'page' ),
19 ),
20 array(
21 'id' => 'meta_box_taxonomies',
22 'name' => __( 'Taxonomies', 'wp-ultimate-post-grid' ),
23 'description' => __( 'Which taxonomies do you want to enable this option for?', 'wp-ultimate-post-grid' ),
24 'type' => 'dropdownMultiselect',
25 'optionsCallback' => function() { return get_taxonomies( '', 'names' ); },
26 'default' => array( 'category', 'post_tag' ),
27 ),
28 ),
29 ),
30 array(
31 'name' => __( 'Compatibility', 'wp-ultimate-post-grid' ),
32 'settings' => array(
33 array(
34 'id' => 'prevent_lazy_image_loading',
35 'name' => __( 'Prevent Lazy Image Loading', 'wp-ultimate-post-grid' ),
36 'description' => __( 'Enable to try to prevent lazy image loading for grid images, as that can mess with the grid layout.', 'wp-ultimate-post-grid' ),
37 'type' => 'toggle',
38 'default' => true,
39 ),
40 ),
41 ),
42 ),
43 );
44