PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / rotating-banner / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/rotating-banner/block.json

138 lines 3.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/rotating-banner",
5 "title": "Rotating Banner",
6 "description": "A multi-message announcement carousel that auto-rotates between messages. Each message can have its own colors, link, and optional countdown timer.",
7 "category": "bkbg-effects",
8 "icon": "megaphone",
9 "keywords": [
10 "banner",
11 "announcement",
12 "carousel",
13 "ticker",
14 "rotating",
15 "bar",
16 "notice"
17 ],
18 "editorScript": "bkbg-rotating-banner-editor",
19 "editorStyle": "bkbg-rotating-banner-style",
20 "style": "bkbg-rotating-banner-style",
21 "viewScript": "bkbg-rotating-banner-frontend",
22 "supports": {
23 "html": false,
24 "anchor": true,
25 "className": true,
26 "align": [
27 "wide",
28 "full"
29 ]
30 },
31 "attributes": {
32 "messages": {
33 "type": "array",
34 "default": [
35 {
36 "text": "🎉 Free shipping on all orders over $50 — Shop now!",
37 "linkLabel": "Shop Now",
38 "linkUrl": "#",
39 "linkTarget": "_self",
40 "bgColor": "#6366f1",
41 "textColor": "#ffffff",
42 "countdownTo": ""
43 },
44 {
45 "text": "👋 New arrivals every week — Don't miss out.",
46 "linkLabel": "Browse",
47 "linkUrl": "#",
48 "linkTarget": "_self",
49 "bgColor": "#0ea5e9",
50 "textColor": "#ffffff",
51 "countdownTo": ""
52 },
53 {
54 "text": "🔥 Limited time: 20% off everything with code SAVE20",
55 "linkLabel": "Use Code",
56 "linkUrl": "#",
57 "linkTarget": "_self",
58 "bgColor": "#ef4444",
59 "textColor": "#ffffff",
60 "countdownTo": ""
61 }
62 ]
63 },
64 "autoPlay": {
65 "type": "boolean",
66 "default": true
67 },
68 "interval": {
69 "type": "number",
70 "default": 5000
71 },
72 "animationType": {
73 "type": "string",
74 "default": "slide"
75 },
76 "showArrows": {
77 "type": "boolean",
78 "default": true
79 },
80 "showDots": {
81 "type": "boolean",
82 "default": true
83 },
84 "showClose": {
85 "type": "boolean",
86 "default": true
87 },
88 "cookieDays": {
89 "type": "number",
90 "default": 7
91 },
92 "height": {
93 "type": "number",
94 "default": 44
95 },
96 "fontSize": {
97 "type": "number",
98 "default": 14
99 },
100 "fontWeight": {
101 "type": "string",
102 "default": "500"
103 },
104 "linkStyle": {
105 "type": "string",
106 "default": "inline"
107 },
108 "arrowBg": {
109 "type": "string",
110 "default": "rgba(0,0,0,0.15)"
111 },
112 "arrowColor": {
113 "type": "string",
114 "default": "#ffffff"
115 },
116 "dotColor": {
117 "type": "string",
118 "default": "rgba(255,255,255,0.4)"
119 },
120 "dotActiveColor": {
121 "type": "string",
122 "default": "#ffffff"
123 },
124 "closeBg": {
125 "type": "string",
126 "default": "rgba(0,0,0,0.15)"
127 },
128 "closeColor": {
129 "type": "string",
130 "default": "#ffffff"
131 },
132 "messageTypo": {
133 "type": "object",
134 "default": {}
135 }
136 }
137 }
138