将此添加到函数。php,或将CSS放入加载到管理屏幕中的CSS文件中。这将使框的大小可以调整,因此您可以使其更高,同时看到更多的页面/复选框。
function wp191833_resize_menu_list() {
?>
<style type="text/css">
#wpwrap .categorydiv div.tabs-panel,
#wpwrap .customlinkdiv div.tabs-panel,
#wpwrap .posttypediv div.tabs-panel,
#wpwrap .taxonomydiv div.tabs-panel,
#wpwrap .wp-tab-panel {
resize: vertical;
max-height: none;
}
</style>
<?php
}
add_action( \'admin_print_styles\', \'wp191833_resize_menu_list\' );
预览:
