]> _ Git - couzy.git/blob
18c9826418cdb50a000f159ac8cd4c7270c3edde
[couzy.git] /
1 frameworkShortcodeAtts={
2         attributes:[
3                         {
4                                 label:"Type of posts",
5                                 id:"type",
6                                 help:"This is the type of posts. Use post slug, e.g. \"portfolio\" or blank for posts from Blog"
7                         },                      
8                         {
9                                 label:"How many posts to show?",
10                                 id:"numb",
11                                 help:"Total number of posts, -1 for all posts"
12                         },
13                         {
14                                 label:"Thumbnails",
15                                 id:"thumbs",
16                                 controlType:"select-control", 
17                                 selectValues:['small', 'smaller', 'smallest'],
18                                 defaultValue: 'small', 
19                                 defaultText: 'small',
20                                 help:"Size of post thumbnails"
21                         },
22                         {
23                                 label:"Image width",
24                                 id:"thumb_width",
25                                 help:"Set width for your featured images."
26                         },
27                         {
28                                 label:"Image height",
29                                 id:"thumb_height",
30                                 help:"Set height for your featured images."
31                         },
32                         {
33                                 label:"Which category to pull from? (for Blog posts)",
34                                 id:"category",
35                                 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."
36                         },
37                         {
38                                 label:"Which category to pull from? (for Custom posts)",
39                                 id:"custom_category",
40                                 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."
41                         },
42                         {
43                                 label:"Order by",
44                                 id:"order_by",
45                                 controlType:"select-control", 
46                                 selectValues:['date', 'title', 'popular', 'random'],
47                                 help:"Choose the order by mode."
48                         },
49                         {
50                                 label:"Order",
51                                 id:"order",
52                                 controlType:"select-control", 
53                                 selectValues:['DESC', 'ASC'],
54                                 help:"Choose the order mode ( from Z to A or from A to Z)."
55                         },
56                         {
57                                 label:"Align",
58                                 id:"align",
59                                 controlType:"select-control", 
60                                 selectValues:['left', 'right', 'center'],
61                                 defaultValue: 'left', 
62                                 defaultText: 'left',
63                                 help:"Alignment of grid - left, right, or center."
64                         },
65                         {
66                                 label:"Custom class",
67                                 id:"custom_class",
68                                 help:"Use this field if you want to use a custom class."
69                         }
70         ],
71         defaultContent:"",
72         shortcode:"mini_posts_grid",
73         shortcodeType: "text-replace"
74 };