MainWP Custom Dashboard Extension
Work your way using this WordPress custom dashboard plugin. Change the look and feel of your MainWP Dashboard!
Have you ever wanted to change the font, color, or move a button on your MainWP Dashboard? Using the MainWP Custom Dashboard Extension, now you can!
The MainWP Custom Dashboard Extension contains custom snippets for your MainWP Dashboard.
By using MainWP Custom Dashboard Extension, you can add code to WordPress websites to easily extend your MainWP Dashboard functionality or change the way it looks.
MainWP Custom Dashboard Extension will help you keep all your changes in one location and independent of the other components. The Built-in code editor allows you to add your code directly through the extension interface. No FTP access is required!
It enables you to safely update your MainWP Dashboard plugin on your MainWP Dashboard site without worrying about losing your modifications, as well as deactivating your custom code if needed for troubleshooting.
The MainWP Github repository has some example snippets that will help you get started:
- CSS Code Snippets
- PHP Code Snippets
- JS Code Snippets
How MainWP Custom Dashboard Extension Works!
– Built-in Themes:
The MainWP Custom Dashboard Extension includes built-in themes to change the MainWP Dashboard layout. Navigate to Custom Dashboard -> Settings, choose your desired theme from the dropdown, or follow the step-by-step instructions.
Moreover, since MainWP is an open source and a self-hosted solution, you can always tweak existing themes or create your own.
– Custom Layout:
It also saves your custom code to your MainWP Dashboard database instead of containing code in PHP/CSS/JS file. For CSS and JS snippets, the extension will print saved code in the element on your MainWP Dashboard site.
eval() function
Saved PHP Code Snippets will get executed by using the PHP function eval().
In case the eval() function is disabled on your host, please contact your host support and have them enable it for you.
Heartbeat API Integration
If you try to save PHP code with a syntax error and cause PHP Fatal Error, the extension uses the wp_php_error_message filter provided by WordPress Heartbeat API to prevent your MainWP Dashboard site from crashing. After saving an invalid code, you will see the error message and link to go back to fix it.
Files Included with this download
- MainWP Custom Dashboard Extension 5.0