How to disable admin flyout menus?

It’s a bit of a workarround but here you go: function remove_flyout() { echo ‘<style type=”text/css”> .js #adminmenu .wp-submenu.sub-open { display: none; } </style>’; } add_action(‘admin_head’, ‘remove_flyout’); Put it in your functions.php

Admin pages have no content

Try going to Tools then Export and export your WordPress site into an XML file. Then delete your WordPress site off your web server and reinstall it. Go Tools > Import and click on import and select the XML file. Reinstalling WordPress should fix your problem.

Hide username from users list

There are no direct filters using which we can change the content of Name column. So to get what you want, we should remove ‘Name’ column too and create our own Name column. Therefore, modify_user_columns function will be like this function modify_user_columns($column) { $column = array( “cb” => “<input type=\”checkbox\” />”, “wdm_name” => __(‘Name’), “email” … Read more

Ajax form submission from admin panel

File Upload via Ajax is a bit tricky, but manageable. Add some additional form fields (nonce and ajax_action) to your form in suite_export_import_menu(): function suite_export_import_menu(){ ?> <h2>Suite Report Export/Import </h2> <div id=”export_import_form”> <p id=”custom_ajax_call_process”>Uploading…</p> <p id=”custom_ajax_call_result”></p> <form action=”<?php echo admin_url(‘admin-ajax.php’); ?>” method=”post” enctype=”multipart/form-data” target=”upload_target”> <input type=”hidden” name=”action” value=”export_vacancy”> <input type=”hidden” name=”subaction” value=”imp_vacancy”> <input type=”file” name=”file_source” … Read more