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
{ | |
"landingPage": "/wp-admin/site-editor.php", | |
"preferredVersions": { | |
"php": "8.0", | |
"wp": "nightly" | |
}, | |
"features": { | |
"networking": true | |
}, | |
"steps": [ |
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
{ | |
"landingPage": "/wp-admin/site-editor.php?postType=wp_template&postId=twentytwentyfour%2F%2Fsingle", | |
"preferredVersions": { | |
"php": "8.0", | |
"wp": "nightly" | |
}, | |
"features": { | |
"networking": true | |
}, | |
"steps": [ |
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
{ | |
"landingPage": "/wp-admin/site-editor.php", | |
"preferredVersions": { | |
"php": "8.0", | |
"wp": "beta" | |
}, | |
"features": { | |
"networking": true | |
}, | |
"steps": [ |
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 | |
/** | |
* Plugin Name: Block Hooks Demo | |
* Description: Block Hooks API experiments. | |
* Version: 0.1.0 | |
* Requires at least: 6.5 | |
*/ | |
defined( 'ABSPATH' ) || exit; |
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
/* | |
Purpose: Export the configuration settings for GitHub Labels. | |
(c) James Perrin, MIT License, https://www.countrydawgg.com, | @jamesperrin | |
Modified to pull additional label info from the Gutenberg repo by @ndiego | |
Exporting Instructions: | |
1. Open a web browser. | |
2. Navigate to the desired GitHub repository. | |
3. Navigate to Issues tab. |
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
Add the following to the style.css file of the theme. | |
------------------------------------------------------------------------------------- | |
// Make the block sticky. | |
.sticky-column-content { | |
position: sticky; | |
top: 60px; | |
} | |
// Justify the space between all internal blocks. Add to Stack blocks. |
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
/** | |
* Add the following to a theme's functions.php file. | |
*/ | |
function example_enqueue_block_variations() { | |
wp_enqueue_script( | |
'frost-enqueue-block-variations', | |
get_template_directory_uri() . '/assets/js/variations.js', | |
array( 'wp-blocks', 'wp-dom-ready', 'wp-edit-post' ) | |
); |
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:cover {"overlayColor":"primary","minHeight":100,"minHeightUnit":"vh","align":"full","className":"is-style-slide","style":{"spacing":{"padding":{"top":"var:preset|spacing|medium","right":"0","bottom":"var:preset|spacing|large","left":"0"},"margin":{"top":"0","bottom":"0"}}},"blockVisibility":{"visibilityPresets":{"presets":[]}}} --> | |
<div class="wp-block-cover alignfull is-style-slide" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--medium);padding-right:0;padding-bottom:var(--wp--preset--spacing--large);padding-left:0;min-height:100vh" id="title"><span aria-hidden="true" class="wp-block-cover__background has-primary-background-color has-background-dim-100 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"},"style":{"spacing":{}},"className":"is-style-full-height-stack"} --> | |
<div class="wp-block-group is-style-full-height-stack"><!-- wp:group {"layout":{"type":"default" |
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
/** | |
* Add the following to a theme's functions.php file. | |
*/ | |
function example_enqueue_block_variations() { | |
wp_enqueue_script( | |
'frost-enqueue-block-variations', | |
get_template_directory_uri() . '/assets/js/variations.js', | |
array( 'wp-blocks', 'wp-dom-ready', 'wp-edit-post' ) | |
); |
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 | |
/** | |
* Title: Testimonials | |
* Slug: twentytwentytwo/testimonials | |
* Categories: columns | |
* Block Types: core/post-content | |
* Post Types: page | |
*/ | |
?> |
NewerOlder