From 7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 7 Jan 2020 13:06:14 +0100 Subject: Added wordpress --- srcs/wordpress/wp-admin/tools.php | 95 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 srcs/wordpress/wp-admin/tools.php (limited to 'srcs/wordpress/wp-admin/tools.php') diff --git a/srcs/wordpress/wp-admin/tools.php b/srcs/wordpress/wp-admin/tools.php new file mode 100644 index 0000000..bbc95ee --- /dev/null +++ b/srcs/wordpress/wp-admin/tools.php @@ -0,0 +1,95 @@ +add_help_tab( + array( + 'id' => 'converter', + 'title' => __( 'Categories and Tags Converter' ), + 'content' => '

' . __( 'Categories have hierarchy, meaning that you can nest sub-categories. Tags do not have hierarchy and cannot be nested. Sometimes people start out using one on their posts, then later realize that the other would work better for their content.' ) . '

' . + '

' . __( 'The Categories and Tags Converter link on this screen will take you to the Import screen, where that Converter is one of the plugins you can install. Once that plugin is installed, the Activate Plugin & Run Importer link will take you to a screen where you can choose to convert tags into categories or vice versa.' ) . '

', + ) +); + +get_current_screen()->set_help_sidebar( + '

' . __( 'For more information:' ) . '

' . + '

' . __( 'Documentation on Tools' ) . '

' . + '

' . __( 'Support' ) . '

' +); + +require_once( ABSPATH . 'wp-admin/admin-header.php' ); + +?> +
+

+cap->manage_terms ) || current_user_can( $tags->cap->manage_terms ) ) : + ?> +
+

+

+ Categories and Tags Converter available from the Import screen.' ), + 'import.php' + ); + ?> +

+
+ +
+