emulsion 2.8.4

PHP templateでは、パスワード保護関連はテンプレートが責任を持たなければならない

変数名の変更

–wp–custom–width–content to –wp–style–global–content-size

–wp–custom–width–wide to –wp–style–global–wide-size

非同期パターン

非同期パターン テスト3

{
    "$schema": "https://schemas.wp.org/trunk/theme.json",
    "version": 2,
    "styles": {
            "core/paragraph": {
                "typography": {

                    "textColumns":"3"
                }
             }
      }
}
p{
    column-count: 3;
}
<!-- wp:code {"backgroundColor":"contrast","textColor":"vivid-cyan-blue"} -->
<pre class="wp-block-code has-vivid-cyan-blue-color has-contrast-background-color has-text-color has-background"><code>{
    "$schema": "https://schemas.wp.org/trunk/theme.json",
    "version": 2,
    "styles": {
            "core/paragraph": {
                "typography": {

                    "textColumns":"3"
                }
             }
      }
}</code></pre>
<!-- /wp:code -->
function wp_get_post_content_block_attributes() {
	global $post_ID;
...
}
Prepends a sub-selector to an existing one.
WP_Theme_JSON::append_to_selector()

convert_custom_properties()


resolve_custom_css_format()
`var:preset|color|vivid-green-cyan` becomes `var(--wp--preset--color--vivid-green-cyan)`.

<!-- wp:code {"style":{"elements":{"link":{"color":{"text":"var:preset|color|light-green-cyan"}}}},"backgroundColor":"black","textColor":"light-green-cyan"} -->

https://github.com/WordPress/WordPress/blob/master/wp-includes/class-wp-theme-json.php

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

非同期パターン テスト2

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

[emulsion_relate_posts]