Updated on 10 Jul 2024
This Pro tutorial provides the steps to replace all the meta boxes of the WordPress admin dashboard page with the content of a Bricks section template.
This gives you unlimited flexibility to visually develop your dashboard page for your or your client's usage.
Bricks template:
WP Dashboard:
Note that the name after "Welcome" in the heading is dynamically generated and is the Display name for the user viewing the dashboard page.
Similarly, the name and email address in the form (Bricks element) are dynamic.
Limitations
- Does not work seamlessly when Bricks' CSS loading method is inline. Works fine with 'External files' method. It is possible to still make it work with the Inline option but would involve manually copying the generated CSS and pasting it in the code. Since the dashboard won't frequently change, it should be ok.
- The native Bricks' Forms element does not work when it's inside the dashboard (or any WP admin) page. You'd have to use a 3rd party forms plugin like WS Form.
- Dynamic data tags won't be rendered. You'd have to use Code element(s).
Step 1
Create a new Bricks template of the type section with your desired dashboard design/content.
You could alternatively download the template from our example (screenshot above) from the link below and import it at Bricks → Templates.
This is a BricksLabs Pro tutorial.
For full access login below or create your BricksLabs Pro account