Viewing 1 replies (of 1 total)
  • Plugin Author joe_bopper

    (@joe_bopper)

    Hi Fred,

    Thanks for getting in touch. Sorry to hear you’re having issues; I’m aware how frustrating it can be when a plugin isn’t working as expected.

    I’m afraid this isn’t an issue with the plugin but with WordPress itself. I have no idea why, but WP has thought it best to hide many features of nav-menus.php by default.

    Every time nav-menus.php (trac link – line 487) is accessed, the function wp_nav_menu_setup is run. This function registers some of the meta boxes in the sidebar (the one for adding new menu items) and decides which are the default fields available for each menu item. So far, so nice. It then goes on to do something I cannot fathom the reason for and decides to hide a number of the default fields for new users. This is shown in the code below:

    // If first time editing, disable advanced items by default.
        if( false === get_user_option( 'managenav-menuscolumnshidden' ) ) {
            $user = wp_get_current_user();
            update_user_option($user->ID, 'managenav-menuscolumnshidden',
                array( 0 => 'link-target', 1 => 'css-classes', 2 => 'xfn', 3 => 'description', ),
                true);
        }

    This seems like complete folly to me as it is doing this in a rather permanent fashion and it is not clear how to fix this.

    However, it can be fixed!

    tl;dr; There is a drop down at the top of the screen called “Screen Options” which has the “advanced” fields unchecked. Check the ones you want to be visible.

    I’m marking this as resolved, but let me know if you’re still having issues.

    Cheers,
    Joe

Viewing 1 replies (of 1 total)
  • The topic ‘css field not showing in widget’ is closed to new replies.