[ 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 "role": "content" 31 }, 32 "linkTarget": { 33 "type": "string", 34 "default": "_self", 35 "role": "content" 36 } 37 }, 38 "usesContext": [ "postType", "postId", "queryId" ], 39 "supports": { 40 "html": false, 41 "spacing": { 42 "margin": true, 43 "padding": true 44 }, 45 "typography": { 46 "fontSize": true, 47 "lineHeight": true, 48 "__experimentalFontFamily": true, 49 "__experimentalFontWeight": true, 50 "__experimentalFontStyle": true, 51 "__experimentalTextTransform": true, 52 "__experimentalTextDecoration": true, 53 "__experimentalLetterSpacing": true, 54 "__experimentalDefaultControls": { 55 "fontSize": true 56 } 57 }, 58 "color": { 59 "gradients": true, 60 "link": true, 61 "__experimentalDuotone": ".wp-block-post-author__avatar img", 62 "__experimentalDefaultControls": { 63 "background": true, 64 "text": true 65 } 66 }, 67 "interactivity": { 68 "clientNavigation": true 69 }, 70 "__experimentalBorder": { 71 "radius": true, 72 "color": true, 73 "width": true, 74 "style": true, 75 "__experimentalDefaultControls": { 76 "radius": true, 77 "color": true, 78 "width": true, 79 "style": true 80 } 81 } 82 }, 83 "editorStyle": "wp-block-post-author-editor", 84 "style": "wp-block-post-author" 85 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sat Feb 22 08:20:01 2025 | Cross-referenced by PHPXref |