PluginProbe
WP Ultimate Post Grid / 3.5.0
WP Ultimate Post Grid v3.5.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.5.0, at templates/settings/group-general.php

32 lines 1.2 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 ),
31 );
32