Help/About: Add a help tab in Theme Install screen for the new "Block Themes" search filter.

Follow-up to [53906].

Props audrasjb, poena, robinwpdeveloper, webcommsat.
Fixes #56405.


git-svn-id: https://develop.svn.wordpress.org/trunk@54252 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2022-09-20 13:46:03 +00:00
parent 87c24a16e9
commit 79a46307e3

View File

@ -138,9 +138,23 @@ get_current_screen()->add_help_tab(
)
);
// Help tab: Block themes.
$help_block_themes =
'<p>' . __( 'A block theme is a theme that uses blocks for all parts of a site including navigation menus, header, content, and site footer. These themes are built for the features that allow you to edit and customize all parts of your site.' ) . '</p>' .
'<p>' . __( ' With a block theme, you can place and edit blocks without affecting your content by customizing or creating new templates.' ) . '</p>';
get_current_screen()->add_help_tab(
array(
'id' => 'block_themes',
'title' => __( 'Block themes' ),
'content' => $help_block_themes,
)
);
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/appearance-themes-screen/#install-themes">Documentation on Adding New Themes</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/block-themes/">Documentation on Block Themes</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
);