| 1 |
<?php |
| 2 |
|
| 3 |
$shortcode_generator = array( |
| 4 |
//=-=-=-=-=-=-= GRID =-=-=-=-=-=-= |
| 5 |
__( 'Grid', 'wp-ultimate-recipe' ) => array( |
| 6 |
'elements' => array( |
| 7 |
'by_date' => array( |
| 8 |
'title' => __('Select a grid to display', 'wp-ultimate-post-grid') . ' - ' . __('Ordered by date added', 'wp-ultimate-post-grid'), |
| 9 |
'code' => '[wpupg-grid]', |
| 10 |
'attributes' => array( |
| 11 |
array( |
| 12 |
'type' => 'select', |
| 13 |
'name' => 'id', |
| 14 |
'label' => __('Grid', 'wp-ultimate-post-grid'), |
| 15 |
'items' => array( |
| 16 |
'data' => array( |
| 17 |
array( |
| 18 |
'source' => 'function', |
| 19 |
'value' => 'wpupg_shortcode_generator_grids_by_date', |
| 20 |
), |
| 21 |
), |
| 22 |
), |
| 23 |
), |
| 24 |
), |
| 25 |
), |
| 26 |
), |
| 27 |
), |
| 28 |
//=-=-=-=-=-=-= FILTER =-=-=-=-=-=-= |
| 29 |
__( 'Filter', 'wp-ultimate-recipe' ) => array( |
| 30 |
'elements' => array( |
| 31 |
'by_date' => array( |
| 32 |
'title' => __('Select a filter to display', 'wp-ultimate-post-grid') . ' - ' . __('Ordered by date added', 'wp-ultimate-post-grid'), |
| 33 |
'code' => '[wpupg-filter]', |
| 34 |
'attributes' => array( |
| 35 |
array( |
| 36 |
'type' => 'select', |
| 37 |
'name' => 'id', |
| 38 |
'label' => __('Grid', 'wp-ultimate-post-grid'), |
| 39 |
'items' => array( |
| 40 |
'data' => array( |
| 41 |
array( |
| 42 |
'source' => 'function', |
| 43 |
'value' => 'wpupg_shortcode_generator_grids_by_date', |
| 44 |
), |
| 45 |
), |
| 46 |
), |
| 47 |
), |
| 48 |
), |
| 49 |
), |
| 50 |
), |
| 51 |
), |
| 52 |
); |