client
|— components
|— stores
|— app.js
|— {subject}
|— index.js (reducers)
|— actions.js
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
App.js | |
Modules | |
Manage | |
controller.js (initializes Manage.*) | |
manage.js | |
// sub-modules use views/templates/collections/models from app/* | |
sites.js (Manage.Sites) |
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
/* | |
* Authorization module. | |
* | |
* @Routes /authorize | |
* /login | |
* /logout | |
*/ | |
var auth = require( 'auth' ); |
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
/client | |
/auth | |
/boot | |
/layout | |
/manage | |
/posts | |
/sites | |
/pages | |
index.js | |
sidebar.js |
Theme Experience.
- Significantly improve and re-imagine the theme browsing screens for a better user experience.
- More beautiful, visually focused, fast, and up to date with the current times of mobile ubiquitousness, flexible resolutions and retina devices.
- Make it easier and enjoyable for people to find the best and most suitable themes for their needs and tastes.
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
## Grammar | |
<!-- wp:x y:z --> | |
Content | |
<!-- /wp --> | |
### Text | |
<!-- wp:text --> | |
The quick brown fox jumps over the lazy dog. | |
<!-- /wp --> |
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 | |
$parser = new Gutenberg_PEG_Parser; | |
$blocks = $parser->parse( get_post( $post_id )->post_content ); | |
// ordered array of blocks in the post | |
// each block has the following keys | |
// | |
// 0 => string 'blockName' | |
// 1 => string 'attrs' |
If you like to write markdown, you should know that Gutenberg allows you to paste markdown text directly and it will be converted to native blocks instantly.
- Including 🍎
- Lists 🍇
- Like this one 🍑
It is able to recognize quotes as well.
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
<body> | |
<?php | |
do_blocks( array( | |
// Theme header | |
array( 'theme/header' ), | |
array( 'core/image' ), | |
array( 'core/heading', array( | |
'placeholder' => 'Add Author...', | |
'className' => 'my-custom-class', |
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:separator --> | |
<hr class="wp-block-separator" /> | |
<!-- /wp:separator --> | |
<!-- wp:paragraph {"align":"center","customFontSize":25} --> | |
<p style="font-size:25px;text-align:center"><em>Que trata de la condición y ejercicio del famoso hidalgo D. Quijote de la Mancha</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:separator --> | |
<hr class="wp-block-separator" /> |
OlderNewer