|
@@ -58,7 +58,7 @@ const functions_php = `<?php
|
|
|
/**
|
|
|
* Add Editor Styles
|
|
|
*/
|
|
|
-function newtheme_editor_styles() {
|
|
|
+function {newtheme}_editor_styles() {
|
|
|
// Enqueue editor styles.
|
|
|
add_editor_style(
|
|
|
array(
|
|
@@ -66,16 +66,16 @@ function newtheme_editor_styles() {
|
|
|
)
|
|
|
);
|
|
|
}
|
|
|
-add_action( 'after_setup_theme', 'newtheme_editor_styles' );
|
|
|
+add_action( 'after_setup_theme', '{newtheme}_editor_styles' );
|
|
|
|
|
|
/**
|
|
|
*
|
|
|
* Enqueue scripts and styles.
|
|
|
*/
|
|
|
-function newtheme_scripts() {
|
|
|
- wp_enqueue_style( 'newtheme-styles', get_stylesheet_directory_uri() . '/assets/theme.css', array('blockbase-ponyfill'), wp_get_theme()->get( 'Version' ) );
|
|
|
+function {newtheme}_scripts() {
|
|
|
+ wp_enqueue_style( '{newtheme}-styles', get_stylesheet_directory_uri() . '/assets/theme.css', array( 'blockbase-ponyfill' ), wp_get_theme()->get( 'Version' ) );
|
|
|
}
|
|
|
-add_action( 'wp_enqueue_scripts', 'newtheme_scripts' );
|
|
|
+add_action( 'wp_enqueue_scripts', '{newtheme}_scripts' );
|
|
|
|
|
|
`;
|
|
|
|