In the Oxygen Facebook group a user asked:

hello all, a quick question, is there a away to move Oxygen up in the admin menu, I would like to put it higher up?

We can activate the menu_order filter and add the menu slug for Oxygen's top-level menu item, ct_dashboard_page wherever we want to move it to in the attached function's array.

Step 1

Install and activate Code Snippets plugin if you have not already.

Step 2

Go to Snippets > Add New.

Add a new Snippet titled say, Move Oxygen admin menu up having the following code:

add_filter( 'custom_menu_order', '__return_true' );

add_filter( 'menu_order', 'custom_menu_order' );
function custom_menu_order() {
    return array( 'index.php', 'separator1', 'ct_dashboard_page' );

Set it to run only in the admin.

That's it!


Need help implementing a tutorial in your site or want to hire me for custom work?


Find the article helpful and wish to donate?



You need to be logged in to view and post comments.
Not a member yet? Join here.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: