I’m trying to figure out the best way about going and adding custom content to my wordpress dashboard that will be defined in my admin panel.
So essentially I’ll have my admin account be able to set certain settings, and the other users (subscribers, editors, etc…) will see the custom dashboard when they login (the admin will see it as well).
So far I’ve cleared the entire dashboard, and know how to add a widget to it but I’m trying to add custom html instead (without the widget box).
Any suggestions/ideas? I’d love some help with this one, thanks!
Perhaps you can simply add a custom function in your
functions.phpwith your specific HTML content like this:In this vein you are showing some customContent under the Admin Bar within the Dashboard to all Users. But now it will be quite a bit of work to do the styling. So why not use the normal customDashboardWidgets with its functionality and just reset the styling?
And finally you can do some styling:
Note: Make sure to close/open the PHP tags before/after the CSS correctly if inserting the styles within your
functions.php