Skip to content

Commit

Permalink
Adjust text for mobile version
Browse files Browse the repository at this point in the history
  • Loading branch information
renintw committed Sep 7, 2022
1 parent e9da89f commit f39b363
Show file tree
Hide file tree
Showing 2 changed files with 550 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/wp-content/themes/wporg-gutenberg/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] ) )
Expand Down
Loading

0 comments on commit f39b363

Please sign in to comment.