This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- wp:buttons --> | |
<div class="wp-block-buttons"><!-- wp:button --> | |
<div class="wp-block-button"><a class="wp-block-button__link" href="#ghgfh">filled</a></div> | |
<!-- /wp:button --> | |
<!-- wp:button {"style":{"color":{"text":"#1b9cd3"}}} --> | |
<div class="wp-block-button"><a class="wp-block-button__link has-text-color" href="#gfhgfh" style="color:#1b9cd3">filled custom text color</a></div> | |
<!-- /wp:button --> | |
<!-- wp:button {"textColor":"purple","className":"is-style-fill"} --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- wp:paragraph --> | |
<p>Preformatted:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:preformatted --> | |
<pre class="wp-block-preformatted">Hello | |
world | |
How are you today my friend?</pre> | |
<!-- /wp:preformatted --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Utilities used to fetch and create templates and template parts. | |
* | |
* @package Gutenberg | |
* @subpackage REST_API | |
*/ | |
/** | |
* Finds all nested template part file paths in a theme's directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Rollback Update Testing | |
* | |
* @package rollback-update-testing | |
* @author Andy Fragen <[email protected]> | |
* @license MIT | |
*/ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- wp:heading {"level":3} --> | |
<h3>Site blocks:</h3> | |
<!-- /wp:heading --> | |
<!-- wp:list --> | |
<ul><li>Site title</li><li>Site tagline</li><li>Site logo</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Post blocks:</h3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 2, | |
"settings": { | |
"color": { | |
"custom": true, | |
"customGradient": true, | |
"duotone": { | |
"theme": [ | |
{ | |
"colors": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { addFilter } = wp.hooks; | |
const { assign, merge } = lodash; | |
const { createBlock } = wp.blocks; | |
function filter(settings) { | |
return assign({}, settings, { | |
transforms: merge(settings.transforms, { | |
from: [ | |
{ | |
type: 'block', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You nerd <3 | |
object(WP_Styles)[749] | |
public 'base_url' => string 'http://fse.local' (length=21) | |
public 'content_url' => string 'http://fse.local/wp-content' (length=32) | |
public 'default_version' => string '5.9.2' (length=5) | |
public 'text_direction' => string 'ltr' (length=3) | |
public 'concat' => string '' (length=0) | |
public 'concat_version' => string '' (length=0) | |
public 'do_concat' => boolean false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- wp:template-part {"slug":"header","tagName":"header"} /--> | |
<!-- wp:group {"tagName":"main","align":"full","layout":{"inherit":true}} --> | |
<main class="wp-block-group alignfull"><!-- wp:columns {"align":"wide"} --> | |
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"20%"} --> | |
<div class="wp-block-column" style="flex-basis:20%"><!-- wp:woocommerce/attribute-filter {"attributeId":1,"heading":"Filter by Color"} --> | |
<div class="wp-block-woocommerce-attribute-filter is-loading" data-attribute-id="1" data-show-counts="true" data-query-type="or" data-heading="Filter by Color" data-heading-level="3"><span aria-hidden="true" class="wc-block-product-attribute-filter__placeholder"></span></div> | |
<!-- /wp:woocommerce/attribute-filter --></div> | |
<!-- /wp:column --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- wp:template-part {"slug":"header","tagName":"header"} /--> | |
<!-- wp:group {"tagName":"main","align":"full","layout":{"inherit":true}} --> | |
<main class="wp-block-group alignfull"> | |
<!-- wp:woocommerce/cart {"align":"wide"} --> | |
<div class="wp-block-woocommerce-cart alignwide is-loading"><!-- wp:woocommerce/filled-cart-block --> | |
<div class="wp-block-woocommerce-filled-cart-block"><!-- wp:woocommerce/cart-items-block --> | |
<div class="wp-block-woocommerce-cart-items-block"><!-- wp:woocommerce/cart-line-items-block --> | |
<div class="wp-block-woocommerce-cart-line-items-block"></div> |