/** * My Account NAVIGATION */ /* Change WC Acct Page Column Widths */ /* Style WC Account Endpoint Links */ li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads...
Force ssl via .hatccess file
To force https:// over http:// add this code on .htaccess file RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Or this code <IfModule...
Add css to WordPress Dashboard
add_action('admin_head', 'my_custom_notification'); function my_custom_notification() { echo '<style> /* Your CSS here */ </style>'; }
Scan linux filesystem for errors
sudo fsck -y /dev/sda3
Add user ID and Role to the body class in Dashboard
If you need to customize WordPress dashboard by editing it for specific use ID or based on the user role, you can easily add body class to the dashboard with this code, which you can put it in the...
Hide dropdown menu items in the dashboard using JavaScript
Hiding drop-down menu items in the Safari and IE is not possible using just CSS, the items must be removed by javaScript. Question was asked on StackOverflow. In this example body tag has class...
Edit database with just FTP
If you just have a FTP and want to edit, backup or import database it is pretty hard to do that with just FTP. But if you download phpMyAdmin and upload it to the root folder of the site you have...
Have file manager with just FTP
Tiny File Manager Web Based File Manager In PHP, Manage Your Files Efficiently And Easily With Tiny File Manager It is web based file manager and it is a simple, fast and small file manager with a...
How to Set the Default Admin Color Scheme for New Users in WordPress
In order to set a default WordPress admin color scheme for new users, all you need to do is add the following code in your theme’s functions.php file or in a site-specific plugin:...
Customize dashboard plugin Adminimize
If you manage a multi-author WordPress blog or WordPress sites for clients, then you may have wondered if it was possible to clean up the WordPress admin area for your users? There are lots of...