]> _ Git - couzy.git/blob
5a07be18303b2e48fd9e2a766466d9e02e2c0835
[couzy.git] /
1 frameworkShortcodeAtts={\r
2         attributes:[\r
3                         {\r
4                                 label:"Title",\r
5                                 id:"title",\r
6                                 help:"Title for your carousel."\r
7                         },\r
8                         {\r
9                                 label:"Type of posts",\r
10                                 id:"post_type",\r
11                                 help:"Input the type of posts (default is post)."\r
12                         },\r
13                         {\r
14                                 label:"Which category to pull from?",\r
15                                 id:"categories",\r
16                                 help:"Enter the slug of the category you'd like to pull posts from. Leave blank if you'd like to pull from all categories."\r
17                         },\r
18                         {\r
19                                 label:"How many posts to show?",\r
20                                 id:"posts_count",\r
21                                 help:"This is how many recent posts will be displayed."\r
22                         },\r
23                         {\r
24                                 label:"Number of visibility items?",\r
25                                 id:"visibility_items",\r
26                                 help:"This is how many visibility items in carousel."\r
27                         },\r
28                         {\r
29                                 label:"Do you want to show the featured image?",\r
30                                 id:"thumb",\r
31                                 controlType:"select-control",\r
32                                 selectValues:['yes', 'no'],\r
33                                 defaultValue: 'yes',\r
34                                 defaultText: 'yes',\r
35                                 help:"Enable or disable featured image."\r
36                         },\r
37                         {\r
38                                 label:"Image width",\r
39                                 id:"thumb_width",\r
40                                 help:"Set width for your featured images."\r
41                         },\r
42                         {\r
43                                 label:"Image height",\r
44                                 id:"thumb_height",\r
45                                 help:"Set height for your featured images."\r
46                         },\r
47                         {\r
48                                 label:"Display post date?",\r
49                                 id:"date",\r
50                                 controlType:"select-control",\r
51                                 selectValues:['yes', 'no'],\r
52                                 defaultValue: 'yes',\r
53                                 defaultText: 'yes',\r
54                                 help:"Enable or disable post date."\r
55                         },\r
56                         {\r
57                                 label:"Display post author?",\r
58                                 id:"author",\r
59                                 controlType:"select-control",\r
60                                 selectValues:['yes', 'no'],\r
61                                 defaultValue: 'yes',\r
62                                 defaultText: 'yes',\r
63                                 help:"Enable or disable post author."\r
64                         },\r
65                         {\r
66                                 label:"Display post comments?",\r
67                                 id:"comments",\r
68                                 controlType:"select-control",\r
69                                 selectValues:['yes', 'no'],\r
70                                 defaultValue: 'no',\r
71                                 defaultText: 'no',\r
72                                 help:"Enable or disable post comments."\r
73                         },\r
74                         {\r
75                                 label:"Link Text for post",\r
76                                 id:"more_text_single",\r
77                                 help:"Link Text for post."\r
78                         },\r
79                         {\r
80                                 label:"The number of words in the content (or excerpt if it's set)",\r
81                                 id:"excerpt_count",\r
82                                 help:"How many words are displayed in the content (or excerpt if it's set) ?"\r
83                         },\r
84                         {\r
85                                 label:"Pause time",\r
86                                 id:"auto_play",\r
87                                 help:"Pause time (ms)."\r
88                         },\r
89                         {\r
90                                 label:"Next & Prev navigation",\r
91                                 id:"display_navs",\r
92                                 controlType:"select-control",\r
93                                 selectValues:['yes', 'no'],\r
94                                 defaultValue: 'yes',\r
95                                 defaultText: 'yes',\r
96                                 help:"Display next & prev navigation?"\r
97                         },\r
98                         {\r
99                                 label:"Pagination",\r
100                                 id:"display_pagination",\r
101                                 controlType:"select-control",\r
102                                 selectValues:['yes', 'no'],\r
103                                 defaultValue: 'yes',\r
104                                 defaultText: 'yes',\r
105                                 help:"Display pagination?"\r
106                         },\r
107                         {\r
108                                 label:"Custom class",\r
109                                 id:"custom_class",\r
110                                 help:"Use this field if you want to use a custom class."\r
111                         }\r
112         ],\r
113         defaultContent:"",\r
114         shortcode:"carousel_owl"\r
115 };