[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 { 2 "$schema": "https://schemas.wp.org/trunk/block.json", 3 "apiVersion": 3, 4 "name": "core/post-author", 5 "title": "Author", 6 "category": "theme", 7 "description": "Display post author details such as name, avatar, and bio.", 8 "textdomain": "default", 9 "attributes": { 10 "textAlign": { 11 "type": "string" 12 }, 13 "avatarSize": { 14 "type": "number", 15 "default": 48 16 }, 17 "showAvatar": { 18 "type": "boolean", 19 "default": true 20 }, 21 "showBio": { 22 "type": "boolean" 23 }, 24 "byline": { 25 "type": "string" 26 }, 27 "isLink": { 28 "type": "boolean", 29 "default": false 30 }, 31 "linkTarget": { 32 "type": "string", 33 "default": "_self" 34 } 35 }, 36 "usesContext": [ "postType", "postId", "queryId" ], 37 "supports": { 38 "html": false, 39 "spacing": { 40 "margin": true, 41 "padding": true 42 }, 43 "typography": { 44 "fontSize": true, 45 "lineHeight": true, 46 "__experimentalFontFamily": true, 47 "__experimentalFontWeight": true, 48 "__experimentalFontStyle": true, 49 "__experimentalTextTransform": true, 50 "__experimentalTextDecoration": true, 51 "__experimentalLetterSpacing": true, 52 "__experimentalDefaultControls": { 53 "fontSize": true 54 } 55 }, 56 "color": { 57 "gradients": true, 58 "link": true, 59 "__experimentalDuotone": ".wp-block-post-author__avatar img", 60 "__experimentalDefaultControls": { 61 "background": true, 62 "text": true 63 } 64 }, 65 "interactivity": { 66 "clientNavigation": true 67 }, 68 "__experimentalBorder": { 69 "radius": true, 70 "color": true, 71 "width": true, 72 "style": true, 73 "__experimentalDefaultControls": { 74 "radius": true, 75 "color": true, 76 "width": true, 77 "style": true 78 } 79 } 80 }, 81 "editorStyle": "wp-block-post-author-editor", 82 "style": "wp-block-post-author" 83 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |