-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQueryQuery_options.php
More file actions
166 lines (164 loc) · 3.71 KB
/
QueryQuery_options.php
File metadata and controls
166 lines (164 loc) · 3.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?php
// Admin Options Avalible on Query Query
$option_list_names = array(
array(
"name" => "poststatus",
"type" => "select",
"title" => "Post by Status",
"default" => "publish",
"options" =>"publish,pending,draft,auto-draft,future,private,inherit,trash,any"
),
array(
"name" => "postsperpage",
"type" => "text",
"title" => "Posts Per/Page",
"default" => "1"
),
array(
"name" => "offset",
"type" => "text",
"title" => "Offset by ? Number of Posts",
"default" => "null"
),
array(
"name" => "orderby",
"type" => "select",
"title" => "Order Post By",
"default" => "date",
"options" => "none,ID,author,title,name,date,modified,parent,rand,comment_count,menu_order,meta_vlaue,meta_value_num,post__in"
),
array(
"name" => "order",
"type" => "select",
"title" => "Arrange List by",
"default" => "DESC",
"options" => "DESC,ASC"
),
array(
"name" => "spacer",
"type" => "text",
"title" => "Spacer Character",
"default" => " - ",
),
array(
"name" => "displaytitle",
"type" => "text",
"title" => "Display Title",
"default" => "More post you will like",
),
array(
"name" => "noposttext",
"type" => "text",
"title" => "No Post Text",
"default" => "No Post(s) to Display",
),
array(
"name" => "clickthroughtext",
"type" => "text",
"title" => "Clickthrough Text",
"default" => "Read More",
),
array(
"name" => "clickthroughlink",
"type" => "text",
"title" => "Clickthrough Link",
"default" => "null",
),
array(
"name" => "monthsafter",
"type" => "text",
"title" => "Limit Post ? Months After",
"default" => "null",
),
array(
"name" => "monthsbefore",
"type" => "text",
"title" => "Limit Post ? Months Before",
"default" => "null",
),
array(
"name" => "tag",
"type" => "text",
"title" => "Show Post with Tag-slug(s)",
"default" => "null"
),
array(
"name" => "s",
"type" => "text",
"title" => "Show Post with Search term(s)",
"default" => "null"
),
array(
"name" => "categorynumbers",
"type" => "multi-select",
"title" => "Show Posts with Category <br> (Ctrl/cmd click to selet multiple)",
"default" => "null"
),
array(
"name" => "anticategorynumbers",
"type" => "multi-select",
"title" => "Exclude Post with Category <br> (Ctrl/cmd click to selet multiple)",
"default" => "null"
),
array(
"name" => "disableshowonlyonpost",
"type" => "check",
"title" => "Show only within Sigle-Post <br> (not in query lists or pages)",
"default" => "0"
),
array(
"name" => "disabledisplaytitle",
"type" => "check",
"title" => "Disable Display Title",
"default" => "0"
),
array(
"name" => "disablethumbnails",
"type" => "check",
"title" => "Disable Thumbnails",
"default" => "0"
),
array(
"name" => "disabledefautlthumb",
"type" => "check",
"title" => "Disable Thumbnail Default Image",
"default" => "0"
),
array(
"name" => "disablequeryurl",
"type" => "check",
"title" => "Disable Auto Query "Read More" URL",
"default" => "0"
),
array(
"name" => "disabledate",
"type" => "check",
"title" => "Disable Date",
"default" => "0"
),
array(
"name" => "disableexcerpt",
"type" => "check",
"title" => "Disable Excerpt",
"default" => "0"
),
array(
"name" => "disablespacer",
"type" => "check",
"title" => "Disable Spacer",
"default" => "0"
),
array(
"name" => "disablenoposttext",
"type" => "check",
"title" => "Disable No Post Text",
"default" => "0"
),
array(
"name" => "debugmode",
"type" => "check",
"title" => "Run Front-End Debug Mode",
"default" => "0"
)
);
?>