WordPress.org

Ready to get started?Download WordPress

Forums

WP Admin UI Customize
Custom Node for sidebar (6 posts)

  1. ElwoodP
    Member
    Posted 4 months ago #

    Hi,

    Is it possible to add a custom node to the sidebar you can for the admin bar?

    https://wordpress.org/plugins/wp-admin-ui-customize/

  2. gqevu6bsiz
    Member
    Plugin Author

    Posted 4 months ago #

    Hi,
    I'm sorry for late reply.
    And, Sorry I tried to add a custom menu to the Sidebar several times.
    But, I was not able to add custom menu of Sidebar.

    I will try again when I have time.

    Thank you for your comment.

    Thanks,
    gqevu6bsiz

  3. ElwoodP
    Member
    Posted 4 months ago #

    Hi gqevu6bsiz,
    No problem, I appreciate your reply. I look forward to the feature if you can add it.

    In the meantime I'm trying to add manually:

    function my_admin_menu() {
        global $submenu;
        $submenu['edit.php'][] = array('Menu Title', 'manage_options', 'url_to_cool_stuff');
    }
    add_action('admin_menu', 'my_admin_menu');

    But this isn't updating custom menu. Can you advise?

  4. gqevu6bsiz
    Member
    Plugin Author

    Posted 4 months ago #

    Hi ElwoodP,

    Thank you for your reply and your code.
    I'm sorry I was explain not enough.

    For how to manually add the menu of Sidemenu,

    1: If you want to add to ignore the WP Admin UI Customie,
    You can add it to change the priority and URL.
    e.g.

    function my_admin_menu() {
    	global $submenu;
    	$submenu['edit.php'][] = array('Menu Title', 'manage_options', 'edit.php?post_type=url_to_cool_stuff');
    }
    add_action('admin_head', 'my_admin_menu', 100);

    Ignore settings screen

    2: If you want to setting with the WP Admin UI Customize,
    You can add it to change the action hook and function of add menu.
    e.g.

    function my_admin_menu() {
    	add_posts_page( 'Page Title', 'Menu Title', 'manage_options', 'url_to_cool_stuff', 'url_to_cool_stuff' );
    }
    add_action('admin_menu', 'my_admin_menu');

    With screen

    I can not be still, add to "External Links".

    If you have any questions, please free feel to ask.

    Thanks,
    gqevu6bsiz

  5. ElwoodP
    Member
    Posted 4 months ago #

    Thanks gqevu6bsiz, that's a very helpful answer. I appreciate the support.

  6. gqevu6bsiz
    Member
    Plugin Author

    Posted 4 months ago #

    I'm glad I was of help to you.
    If you have any questions, please free feel to ask.

    Thanks,
    gqevu6bsiz

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.