' . __( 'You can use the theme editor to edit the individual CSS and PHP files which make up your theme.' ) . '
' . __( 'Begin by choosing a theme to edit from the dropdown menu and clicking the Select button. A list then appears of the theme’s template files. Clicking once on any file name causes the file to appear in the large Editor box.' ) . '
' . __( 'For PHP files, you can use the Documentation dropdown to select from functions recognized in that file. Look Up takes you to a web page with reference material about that particular function.' ) . '
' . __( 'When using a keyboard to navigate:' ) . '
' . __( 'After typing in your edits, click Update File.' ) . '
' . __( 'Advice: Think very carefully about your site crashing if you are live-editing the theme currently in use.' ) . '
' . sprintf( /* translators: %s: Link to documentation on child themes. */ __( 'Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a child theme instead.' ), __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ) ) . '
' . __( 'Any edits to files from this screen will be reflected on all sites in the network.' ) . '
' . __( 'For more information:' ) . '
' . __( 'Documentation on Theme Development' ) . '
' . __( 'Documentation on Using Themes' ) . '
' . __( 'Documentation on Editing Files' ) . '
' . __( 'Documentation on Template Tags' ) . '
' . __( 'Support' ) . '
get_error_message() ? $edit_error->get_error_message() : $edit_error->get_error_code() ); ?>
built-in CSS editor.' ), esc_url( add_query_arg( 'autofocus[section]', 'custom_css', admin_url( 'customize.php' ) ) ) ); ?>
' . __( 'This theme is broken.' ) . ' ' . $theme->errors()->get_error_message() . '
' . __( 'File does not exist! Please double check the name and try again.' ) . '
Changing File Permissions for more information.' ), __( 'https://wordpress.org/support/article/changing-file-permissions/' ) ); ?>
'; printf( /* translators: %s: Link to documentation on child themes. */ __( 'If you need to tweak more than your theme’s CSS, you might want to try making a child theme.' ), esc_url( __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ) ) ); echo '