From d7f1eccafc8013b20a5f23e5b5c97df458ea6081 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 21 Feb 2021 14:34:14 +0100 Subject: Add top level menu to WordPress admin menu. Currently nothing useful on the page, but a placeholder for a more useful page later, and possibly submenus for other functionality. The menu is placed right below the 'Media' menu for now, and is available to anyone with the 'upload_files' capability. Both of these may be adjusted later if there's a better location or other capabilities fit better. --- includes/admin/views/giglog_admin_page.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 includes/admin/views/giglog_admin_page.php (limited to 'includes/admin/views/giglog_admin_page.php') diff --git a/includes/admin/views/giglog_admin_page.php b/includes/admin/views/giglog_admin_page.php new file mode 100644 index 0000000..45a9f3f --- /dev/null +++ b/includes/admin/views/giglog_admin_page.php @@ -0,0 +1,26 @@ +. + */ + +if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) { + class GiglogAdmin_AdminPage { + static function render_html() { + echo '

Hi there admin!

'; + } + } +} +?> -- cgit v1.2.3