| 1 |
<?php |
| 2 |
// This file is generated. Do not modify it manually. |
| 3 |
return array( |
| 4 |
'popular-posts' => array( |
| 5 |
'$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6 |
'apiVersion' => 3, |
| 7 |
'name' => 'top-10/popular-posts', |
| 8 |
'version' => '2.0.0', |
| 9 |
'title' => 'Top 10 Popular Posts', |
| 10 |
'category' => 'widgets', |
| 11 |
'icon' => 'editor-ol', |
| 12 |
'keywords' => array( |
| 13 |
'top 10', |
| 14 |
'popular posts', |
| 15 |
'popular' |
| 16 |
), |
| 17 |
'description' => 'Display the Popular Posts', |
| 18 |
'supports' => array( |
| 19 |
'html' => false |
| 20 |
), |
| 21 |
'attributes' => array( |
| 22 |
'className' => array( |
| 23 |
'type' => 'string' |
| 24 |
), |
| 25 |
'heading' => array( |
| 26 |
'type' => 'boolean' |
| 27 |
), |
| 28 |
'daily' => array( |
| 29 |
'type' => 'boolean' |
| 30 |
), |
| 31 |
'daily_range' => array( |
| 32 |
'type' => 'string' |
| 33 |
), |
| 34 |
'hour_range' => array( |
| 35 |
'type' => 'string' |
| 36 |
), |
| 37 |
'limit' => array( |
| 38 |
'type' => 'string' |
| 39 |
), |
| 40 |
'offset' => array( |
| 41 |
'type' => 'string' |
| 42 |
), |
| 43 |
'show_excerpt' => array( |
| 44 |
'type' => 'boolean' |
| 45 |
), |
| 46 |
'show_author' => array( |
| 47 |
'type' => 'boolean' |
| 48 |
), |
| 49 |
'show_date' => array( |
| 50 |
'type' => 'boolean' |
| 51 |
), |
| 52 |
'disp_list_count' => array( |
| 53 |
'type' => 'boolean' |
| 54 |
), |
| 55 |
'tptn_styles' => array( |
| 56 |
'type' => 'string' |
| 57 |
), |
| 58 |
'post_thumb_op' => array( |
| 59 |
'type' => 'string' |
| 60 |
), |
| 61 |
'other_attributes' => array( |
| 62 |
'type' => 'string' |
| 63 |
) |
| 64 |
), |
| 65 |
'textdomain' => 'top-10', |
| 66 |
'render' => 'file:./render.php', |
| 67 |
'editorScript' => 'file:./index.js' |
| 68 |
), |
| 69 |
'post-count' => array( |
| 70 |
'$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 71 |
'apiVersion' => 3, |
| 72 |
'name' => 'top-10/post-count', |
| 73 |
'version' => '1.0.0', |
| 74 |
'title' => 'Top 10 Post Count', |
| 75 |
'category' => 'text', |
| 76 |
'description' => 'Display the number of visits for a post.', |
| 77 |
'attributes' => array( |
| 78 |
'className' => array( |
| 79 |
'type' => 'string', |
| 80 |
'default' => '' |
| 81 |
), |
| 82 |
'textAlign' => array( |
| 83 |
'type' => 'string' |
| 84 |
), |
| 85 |
'counter' => array( |
| 86 |
'type' => 'string', |
| 87 |
'default' => 'total' |
| 88 |
), |
| 89 |
'fromDate' => array( |
| 90 |
'type' => 'string', |
| 91 |
'default' => '' |
| 92 |
), |
| 93 |
'toDate' => array( |
| 94 |
'type' => 'string', |
| 95 |
'default' => '' |
| 96 |
), |
| 97 |
'textBefore' => array( |
| 98 |
'type' => 'string', |
| 99 |
'default' => '' |
| 100 |
), |
| 101 |
'textAfter' => array( |
| 102 |
'type' => 'string', |
| 103 |
'default' => '' |
| 104 |
), |
| 105 |
'advancedMode' => array( |
| 106 |
'type' => 'boolean', |
| 107 |
'default' => false |
| 108 |
), |
| 109 |
'textAdvanced' => array( |
| 110 |
'type' => 'string', |
| 111 |
'default' => '' |
| 112 |
), |
| 113 |
'numberFormat' => array( |
| 114 |
'type' => 'boolean', |
| 115 |
'default' => false |
| 116 |
), |
| 117 |
'svgCode' => array( |
| 118 |
'type' => 'string', |
| 119 |
'default' => '' |
| 120 |
), |
| 121 |
'svgIconLocation' => array( |
| 122 |
'type' => 'string', |
| 123 |
'default' => 'before' |
| 124 |
), |
| 125 |
'svgPaddingValues' => array( |
| 126 |
'type' => 'array', |
| 127 |
'default' => array( |
| 128 |
0, |
| 129 |
0, |
| 130 |
0, |
| 131 |
0 |
| 132 |
), |
| 133 |
'items' => array( |
| 134 |
'type' => 'number' |
| 135 |
) |
| 136 |
), |
| 137 |
'svgPaddingUnits' => array( |
| 138 |
'type' => 'array', |
| 139 |
'default' => array( |
| 140 |
'px', |
| 141 |
'px', |
| 142 |
'px', |
| 143 |
'px' |
| 144 |
), |
| 145 |
'items' => array( |
| 146 |
'type' => 'string' |
| 147 |
) |
| 148 |
), |
| 149 |
'svgIconSize' => array( |
| 150 |
'type' => 'string', |
| 151 |
'default' => '1' |
| 152 |
), |
| 153 |
'svgIconSizeUnit' => array( |
| 154 |
'type' => 'string', |
| 155 |
'default' => 'em' |
| 156 |
) |
| 157 |
), |
| 158 |
'usesContext' => array( |
| 159 |
'postId', |
| 160 |
'postType', |
| 161 |
'queryId' |
| 162 |
), |
| 163 |
'example' => array( |
| 164 |
'viewportWidth' => 350 |
| 165 |
), |
| 166 |
'supports' => array( |
| 167 |
'align' => array( |
| 168 |
'wide', |
| 169 |
'full' |
| 170 |
), |
| 171 |
'html' => false, |
| 172 |
'color' => array( |
| 173 |
'gradients' => true, |
| 174 |
'link' => true, |
| 175 |
'__experimentalDefaultControls' => array( |
| 176 |
'background' => true, |
| 177 |
'text' => true, |
| 178 |
'link' => true |
| 179 |
) |
| 180 |
), |
| 181 |
'spacing' => array( |
| 182 |
'margin' => true, |
| 183 |
'padding' => true |
| 184 |
), |
| 185 |
'typography' => array( |
| 186 |
'fontSize' => true, |
| 187 |
'lineHeight' => true, |
| 188 |
'__experimentalFontFamily' => true, |
| 189 |
'__experimentalFontWeight' => true, |
| 190 |
'__experimentalFontStyle' => true, |
| 191 |
'__experimentalTextTransform' => true, |
| 192 |
'__experimentalTextDecoration' => true, |
| 193 |
'__experimentalLetterSpacing' => true, |
| 194 |
'__experimentalDefaultControls' => array( |
| 195 |
'fontSize' => true |
| 196 |
) |
| 197 |
), |
| 198 |
'interactivity' => array( |
| 199 |
'clientNavigation' => true |
| 200 |
) |
| 201 |
), |
| 202 |
'textdomain' => 'top-10', |
| 203 |
'render' => 'file:./render.php', |
| 204 |
'editorScript' => 'file:./index.js', |
| 205 |
'editorStyle' => 'file:./index.css', |
| 206 |
'viewStyle' => 'file:./style-index.css' |
| 207 |
) |
| 208 |
); |
| 209 |
|