| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | - "apiVersion": 1, | |
| 3 | + "apiVersion": 3, | |
| 4 | 4 | "name": "jetpack/related-posts", |
| 5 | 5 | "title": "Related Posts", |
| 6 | 6 | "description": "Display a list of related posts.", |
| 7 | 7 | "keywords": [ |
| @@ -47,12 +47,8 @@ | ||
| 47 | 47 | "displayDate": { |
| 48 | 48 | "type": "boolean", |
| 49 | 49 | "default": true |
| 50 | 50 | }, |
| 51 | - "displayHeadline": { | |
| 52 | - "type": "boolean", | |
| 53 | - "default": false | |
| 54 | - }, | |
| 55 | 51 | "displayThumbnails": { |
| 56 | 52 | "type": "boolean", |
| 57 | 53 | "default": false |
| 58 | 54 | }, |
| @@ -59,12 +55,8 @@ | ||
| 59 | 55 | "displayContext": { |
| 60 | 56 | "type": "boolean", |
| 61 | 57 | "default": false |
| 62 | 58 | }, |
| 63 | - "headline": { | |
| 64 | - "type": "string", | |
| 65 | - "default": "" | |
| 66 | - }, | |
| 67 | 59 | "postsToShow": { |
| 68 | 60 | "type": "number", |
| 69 | 61 | "default": 3 |
| 70 | 62 | } |
| @@ -73,13 +65,11 @@ | ||
| 73 | 65 | "attributes": { |
| 74 | 66 | "postLayout": "grid", |
| 75 | 67 | "displayAuthor": false, |
| 76 | 68 | "displayDate": true, |
| 77 | - "displayHeadline": false, | |
| 78 | 69 | "displayThumbnails": true, |
| 79 | 70 | "displayContext": false, |
| 80 | - "headline": "", | |
| 81 | 71 | "postsToShow": 2 |
| 82 | 72 | } |
| 83 | 73 | }, |
| 84 | 74 | "editorScript": "jetpack-blocks-editor" |
| 85 | 75 | } |