WordPress.org

Support

Support » Plugins and Hacks » Custom Node for sidebar

Custom Node for sidebar

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author gqevu6bsiz

    @gqevu6bsiz

    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

    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?

    Plugin Author gqevu6bsiz

    @gqevu6bsiz

    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

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

    Plugin Author gqevu6bsiz

    @gqevu6bsiz

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

    Thanks,
    gqevu6bsiz

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom Node for sidebar’ is closed to new replies.