1. Home
  2. WordPress Hacks

WordPress Hacks

[How To] Remove Block Library CSS from WordPress

WPAssist / WordPress Hacks - October 1, 2023

Gutenberg, the default editor for the latest WordPress installations, uses special CSS libraries to manage blocks on your front end. If you are using this new WP editor, it will automatically add this library CSS code on your site; <link rel=’stylesheet’ id=’wp-block-library-css’ href=’https://wpassist.me/wp-includes/css/dist/block-library/style.min.css’ type=’text/css’ media=’all’ […]

[How to] Add User to WordPress using SQL INSERT

WPAssist / WordPress Hacks - April 8, 2020

If you want to add a new user to WordPress database using MySQL using phpMyAdmin or a similar tool, you can use the following snippet: INSERT INTO `wp_users` (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`) VALUES (‘admin’, ‘$P$Bg/Ol6U.M07OGU7sKEZvIyl.mxuQQw.’, ‘admin’, ‘[email protected]’, ”, ‘2018-12-21 16:34:15’, […]