diff --git a/admin/images/lbry-logo.svg b/admin/images/lbry-logo.svg new file mode 100644 index 0000000..82c8155 --- /dev/null +++ b/admin/images/lbry-logo.svg @@ -0,0 +1 @@ + diff --git a/classes/LBRY_Admin.php b/classes/LBRY_Admin.php index 4f7f657..23c5303 100644 --- a/classes/LBRY_Admin.php +++ b/classes/LBRY_Admin.php @@ -25,12 +25,13 @@ class LBRY_Admin */ public function create_options_page() { - add_options_page( + add_menu_page( __('LBRYPress Settings', 'lbrypress'), __('LBRYPress', 'lbrypress'), 'manage_options', LBRY_ADMIN_PAGE, - array($this, 'options_page_html') + array($this, 'options_page_html'), + plugin_dir_url(LBRY_PLUGIN_FILE) . '/admin/images/lbry-logo.svg' ); }