redirect to a dedicated sign in page

this line did the task perfectly add_filter( ‘login_url’, function(){return /* the custom URL */;}); here is the explanation:(valid for wordpress 5.4.1) by the time admin_init fires, it’s too late already. once url/wp-admin is visited, index.php launches first then requires admin.php (line 10) then the file will execute 94. auth_redirect(); before 170. do_action( ‘admin_init’ ); auth_redirect() … Read more

WP admin page gives 404

Perhaps the siteurl or home value got modified when you tried to modify the site URL in WP admin? If so, it might make the front-end and the WP admin inaccessible because it is looking for WordPress in a directory in which it doesn’t exist. Fixing it in the database If you have access to … Read more

Disable wordpress reordering functions in backend screen element

You have to add the following CSS to an admin.css file (name it whatever you like but it has to be a css file that applies to the admin. You need the following in that file: .order-lower-indicator, .order-higher-indicator{ display:none; } To enqueue a stylesheet properly in the admin: https://developer.wordpress.org/reference/hooks/admin_enqueue_scripts/ It’s the same basic process as … Read more