diff --git a/source/wp-content/themes/wporg-gutenberg/functions.php b/source/wp-content/themes/wporg-gutenberg/functions.php index dc232a3..59ca17a 100644 --- a/source/wp-content/themes/wporg-gutenberg/functions.php +++ b/source/wp-content/themes/wporg-gutenberg/functions.php @@ -41,7 +41,7 @@ function gutenberg_editor_scripts_and_styles( $hook ) { /** * Scripts */ - $temporary_content = include __DIR__ . '/gutenberg-content.php'; + $temporary_content = include __DIR__ . '/gutenberg-content-mobile.php'; $script = sprintf( 'wp.domReady( function () { document.querySelector(".wp-site-blocks").innerHTML = %s } );', wp_json_encode( do_blocks( $temporary_content['content'] ) ) diff --git a/source/wp-content/themes/wporg-gutenberg/gutenberg-content-mobile.php b/source/wp-content/themes/wporg-gutenberg/gutenberg-content-mobile.php new file mode 100644 index 0000000..1df9a7e --- /dev/null +++ b/source/wp-content/themes/wporg-gutenberg/gutenberg-content-mobile.php @@ -0,0 +1,549 @@ + +
+ + + + +
+
+
+

' . esc_html__( 'Say Hello to Gutenberg, the WordPress Editor', 'wporg' ) . '

+ + + +

' . esc_html__( 'Experience the flexibility that blocks allow, whether you’re building your first site or write code for a living.', 'wporg' ) . '

+ + + + +
+
+ + + +
+
+ + + + + + + +
+

' . wp_kses_post( __( 'This page was built with blocks — pieces of content that you can move around.', 'wporg' ) ) . '

+
+
+ + + +
+
+
+
+
+
+ + + +

' . esc_html__( 'Create modern layouts with rich content.', 'wporg' ) . '

+
+
+ + + +
+
+
+ + + +

' . esc_html__( 'Trust that your editor looks like your website.', 'wporg' ) . '

+
+
+
+ + + +
+
+
+
+ + + +

' . esc_html__( 'Work across screen sizes and devices.', 'wporg' ) . '

+
+
+ + + +
+
+
+ + + +

' . esc_html__( 'Do more with fewer plugins.', 'wporg' ) . '

+
+
+
+
+
+ + + +
+
+
+
+
+

' . esc_html__( 'Be your own builder.', 'wporg' ) . '

+ + + +

' . esc_html__( 'Blocks allow you to build your own custom posts and pages without any coding knowledge. Here’s a selection of the default blocks included with Gutenberg:', 'wporg' ) . '

+
+
+ + + +
+ + + + +
+ + + + + + + +
+
+
+
+
' . esc_html__( 'Paragraph', 'wporg' ) . '
+
+ + + +
+
' . esc_html__( 'Heading', 'wporg' ) . '
+
+
+
+ + + +
+
+
+
' . esc_html__( 'Media & Text', 'wporg' ) . '
+
+ + + +
+
' . esc_html__( 'Image', 'wporg' ) . '
+
+
+
+ + + +
+
+
+
' . esc_html__( 'Cover', 'wporg' ) . '
+
+ + + +
+
' . esc_html__( 'Gallery', 'wporg' ) . '
+
+
+
+
+ + + +
+
+
+
+
' . esc_html__( 'Video', 'wporg' ) . '
+
+ + + +
+
' . esc_html__( 'Audio', 'wporg' ) . '
+
+
+
+ + + +
+
+
+
' . esc_html__( 'Columns', 'wporg' ) . '
+
+ + + +
+
' . esc_html__( 'File', 'wporg' ) . '
+
+
+
+ + + +
+
+
+
' . esc_html__( 'Code', 'wporg' ) . '
+
+ + + +
+
' . esc_html__( 'List', 'wporg' ) . '
+
+
+
+
+
+
+ + + +
+
+
+
+
+

' . esc_html__( 'Give your creativity a head start.', 'wporg' ) . '

+ + + + + + + +

' . esc_html__( 'Beautiful content doesn’t have to be designed from scratch. Patterns are collections of pre-arranged blocks you can assemble to make your content impactful, meaningful and appealing.', 'wporg' ) . '

+ + + + +
+ + + + +
+ + + +
+ + + +
+
+
+
+
+
+ + + +
+
+

' . esc_html__( 'Gutenberg ❤️ everyone', 'wporg' ) . '

+ + + +
+
+
+

' . esc_html__( 'Created by the community.', 'wporg' ) . '

+
+ + + +
+

' . esc_html__( 'Built by people from all over the world who work daily, meet weekly, and ship biweekly. You can be a part of it.', 'wporg' ) . '

+
+ + + + +
+ + + +
+ + + +
+
+

' . esc_html__( 'Built for a great developer experience.', 'wporg' ) . '

+
+ + + +
+

' . esc_html__( 'Gutenberg lives on GitHub using the WordPress REST API, JavaScript, and React.', 'wporg' ) . '

+
+ + + + +
+ + + +
+ + + +
+
+

' . esc_html__( 'Designed for compatibility.', 'wporg' ) . '

+
+ + + +
+

' . esc_html__( 'Gutenberg recommends migrating features to blocks but supports previous versions.', 'wporg' ) . '

+
+ + + + +
+ + + +
+ + + +
+
+

' . esc_html__( 'Focused on accessibility.', 'wporg' ) . '

+
+ + + +
+

' . esc_html__( 'Designing with and for everyone is at the core of the editor and its future.', 'wporg' ) . '

+
+ + + + +
+
+
+
+ + + +
+
+
+
+
+

' . esc_html__( 'New to WordPress?', 'wporg' ) . '

+ + + +

' . esc_html__( 'No problem.', 'wporg' ) . '

+
+
+ + + +
+
+
+
+ + + +
+
+ + + + + +
+ + + +
+ + + + +
+
+
+ + + +
+ +
+ + + +
+
+
+
+

' . esc_html__( '“Gutenberg meets our challenges and opportunities head on while simultaneously benefitting everyone who makes a living working in the WP ecosystem. It’s about a lot more than just blocks.”', 'wporg' ) . '

+
+
+
+ + + + +
+ + + +
+
+

' . esc_html__( 'Thanks for trying Gutenberg!', 'wporg' ) . '

+ + + +
+
+
+
+
+ +
+ + + +
+
+
+ + + + +
+
+
+
+'; + +return compact( 'title', 'content' );