Custom Dashboard with Metabox

Marko Krstić
2 Dec 2022

Great tutorial from John Aperture on how to create Admin Dashboard with Bricks and Metabox inspired by our previous tutorial Custom Dashboard with Visual Builders.

window.onload = function() {
   let myiFrame = document.getElementById("admin-sub");
   let doc = myiFrame.contentDocument;
   doc.body.innerHTML = doc.body.innerHTML + '<style>#wpadminbar{display:none!important} body{background-color:#f0f0f1}</style>';
}
.my-iframe{
    width: 100%;
    height: 200vh;
    overflow: hidden;
}

.admin-info .rwmb-label {
    display: none !important;
}

Was this article helpful?

Tags

Categories

Never miss new post again

Subscribe and get list of new posts in your inbox

Click to Copy