✏️ 编辑:quote.php
路径:
/virtual/emerald/public_html/toukai.emerald.jpn.com/_wp2025/wp-includes/block-patterns/quote.php
大小:1.34 KB · 修改:2020-08-04 17:04:06 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
<?php /** * Quote block pattern. * * @package WordPress */ return array( 'title' => __( 'Quote' ), 'content' => "<!-- wp:group -->\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\"><!-- wp:image {\"align\":\"center\",\"width\":164,\"height\":164,\"sizeSlug\":\"large\",\"className\":\"is-style-rounded\"} -->\n<div class=\"wp-block-image is-style-rounded\"><figure class=\"aligncenter size-large is-resized\"><img src=\"https://s.w.org/images/core/5.5/don-quixote-03.jpg\" alt=\"" . __( 'Pencil drawing of Don Quixote' ) . "\" width=\"164\" height=\"164\"/></figure></div>\n<!-- /wp:image -->\n\n<!-- wp:quote {\"align\":\"center\",\"className\":\"is-style-large\"} -->\n<blockquote class=\"wp-block-quote has-text-align-center is-style-large\"><p>" . __( '"Do you see over yonder, friend Sancho, thirty or forty hulking giants? I intend to do battle with them and slay them."' ) . '</p><cite>' . __( '— Don Quixote' ) . "</cite></blockquote>\n<!-- /wp:quote -->\n\n<!-- wp:separator {\"className\":\"is-style-dots\"} -->\n<hr class=\"wp-block-separator is-style-dots\"/>\n<!-- /wp:separator --></div></div>\n<!-- /wp:group -->", 'viewportWidth' => 800, 'categories' => array( 'text' ), 'description' => _x( 'A quote and citation with an image above, and a separator at the bottom.', 'Block pattern description' ), );
💾 保存
取消
保存为 UTF-8,换行统一为 LF