PluginProbe
Themify Event Post / trunk
Themify Event Post vtrunk
1.3.7 trunk 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6
themify-event-post / templates / config-shortcode-generator.php

config-shortcode-generator.php in Themify Event Post trunk, at templates/config-shortcode-generator.php

138 lines 5.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 return array(
4 array(
5 'name' => 'style',
6 'type' => 'listbox',
7 'values' => array(
8 array( 'value' => 'list-post', 'text' => __( 'List Post', 'themify-event-post' ) ),
9 array( 'value' => 'grid4', 'text' => __( 'Grid 4', 'themify-event-post' ) ),
10 array( 'value' => 'grid3', 'text' => __( 'Grid 3', 'themify-event-post' ) ),
11 array( 'value' => 'grid2', 'text' => __( 'Grid 2', 'themify-event-post' ) ),
12 array( 'value' => 'grid2-thumb', 'text' => __( 'Grid 2 Thumb', 'themify-event-post' ) ),
13 ),
14 'label' => __( 'Layout Style:', 'themify-event-post' ),
15 'tooltip' => __( 'Default = grid3', 'themify-event-post' )
16 ),
17 array(
18 'name' => 'show',
19 'type' => 'listbox',
20 'values' => array(
21 array( 'value' => 'upcoming', 'text' => __( 'Upcoming Events', 'themify-event-post' ) ),
22 array( 'value' => 'past', 'text' => __( 'Past Events', 'themify-event-post' ) ),
23 array( 'value' => 'mix', 'text' => __( 'All Events', 'themify-event-post' ) ),
24 // array( 'value' => 'tabbed', 'text' => __( 'Tabbed', 'themify-event-post' ) ),
25 ),
26 'label' => __( 'Show', 'themify-event-post' ),
27 ),
28 array(
29 'name' => 'limit',
30 'type' => 'textbox',
31 'label' => __( 'Number of Posts to Query:', 'themify-event-post' ),
32 'tooltip' => __( 'Default = 5', 'themify-event-post' )
33 ),
34 array(
35 'name' => 'category',
36 'type' => 'textbox',
37 'label' => __( 'Categories to include', 'themify-event-post' ),
38 'tooltip' => __( 'Enter the category ID numbers (eg. 2,5,6) or leave blank for default (all categories). Use minus number to exclude category (eg. category=-1 will exclude category 1).', 'themify-event-post' )
39 ),
40 array(
41 'name' => 'order',
42 'type' => 'listbox',
43 'values' => array(
44 array( 'value' => 'DESC', 'text' => __( 'Descending', 'themify-event-post' ) ),
45 array( 'value' => 'ASC', 'text' => __( 'Ascending', 'themify-event-post' ) ),
46 ),
47 'label' => __( 'Post Order:', 'themify-event-post' ),
48 'tooltip' => __( 'Default = descending.', 'themify-event-post' )
49 ),
50 array(
51 'name' => 'orderby',
52 'type' => 'listbox',
53 'values' => array(
54 array( 'value' => 'event_date', 'text' => __( 'Event Date', 'themify-event-post' ) ),
55 array( 'value' => 'date', 'text' => __( 'Date', 'themify-event-post' ) ),
56 array( 'value' => 'title', 'text' => __( 'Title', 'themify-event-post' ) ),
57 array( 'value' => 'rand', 'text' => __( 'Random', 'themify-event-post' ) ),
58 array( 'value' => 'author', 'text' => __( 'Author', 'themify-event-post' ) ),
59 array( 'value' => 'comment_count', 'text' => __( 'Comments number', 'themify-event-post' ) ),
60 ),
61 'label' => __( 'Sort Posts By:', 'themify-event-post' ),
62 'tooltip' => __( 'Default = date.', 'themify-event-post' )
63 ),
64 array(
65 'name' => 'display',
66 'type' => 'listbox',
67 'values' => array(
68 array( 'text' => __( 'Excerpt', 'themify-event-post' ), 'value' => 'excerpt' ),
69 array( 'text' => __( 'Content', 'themify-event-post' ), 'value' => 'content' ),
70 array( 'text' => __( 'None', 'themify-event-post' ), 'value' => 'none' ),
71 ),
72 'label' => __( 'Display', 'themify-event-post' ),
73 ),
74 array(
75 'name' => 'image',
76 'type' => 'listbox',
77 'values' => array(
78 array( 'text' => __( 'Yes', 'themify-event-post' ), 'value' => 'yes' ),
79 array( 'text' => __( 'No', 'themify-event-post' ), 'value' => 'no' ),
80 ),
81 'label' => __( 'Show Featured Image', 'themify-event-post' ),
82 ),
83 array(
84 'name' => 'image_w',
85 'type' => 'textbox',
86 'label' => __( 'Image Width', 'themify-event-post' ),
87 ),
88 array(
89 'name' => 'image_h',
90 'type' => 'textbox',
91 'label' => __( 'Image Height', 'themify-event-post' ),
92 ),
93 array(
94 'name' => 'hide_event_date',
95 'type' => 'listbox',
96 'values' => array(
97 array( 'text' => __( 'No', 'themify-event-post' ), 'value' => 'no' ),
98 array( 'text' => __( 'Yes', 'themify-event-post' ), 'value' => 'yes' ),
99 ),
100 'label' => __( 'Hide Event Date', 'themify-event-post' ),
101 ),
102 array(
103 'name' => 'hide_event_organizer',
104 'type' => 'listbox',
105 'values' => array(
106 array( 'text' => __( 'No', 'themify-event-post' ), 'value' => 'no' ),
107 array( 'text' => __( 'Yes', 'themify-event-post' ), 'value' => 'yes' ),
108 ),
109 'label' => __( 'Hide Event Organizer', 'themify-event-post' ),
110 ),
111 array(
112 'name' => 'hide_event_performer',
113 'type' => 'listbox',
114 'values' => array(
115 array( 'text' => __( 'No', 'themify-event-post' ), 'value' => 'no' ),
116 array( 'text' => __( 'Yes', 'themify-event-post' ), 'value' => 'yes' ),
117 ),
118 'label' => __( 'Hide Event Performer', 'themify-event-post' ),
119 ),
120 array(
121 'name' => 'hide_event_location',
122 'type' => 'listbox',
123 'values' => array(
124 array( 'text' => __( 'No', 'themify-event-post' ), 'value' => 'no' ),
125 array( 'text' => __( 'Yes', 'themify-event-post' ), 'value' => 'yes' ),
126 ),
127 'label' => __( 'Hide Event Location', 'themify-event-post' ),
128 ),
129 array(
130 'name' => 'hide_page_nav',
131 'type' => 'listbox',
132 'values' => array(
133 array( 'text' => __( 'No', 'themify-event-post' ), 'value' => 'no' ),
134 array( 'text' => __( 'Yes', 'themify-event-post' ), 'value' => 'yes' ),
135 ),
136 'label' => __( 'Hide Pagination Links', 'themify-event-post' ),
137 ),
138 );