I'm trying to create a dev dashboard in the admin panel for a client site using Metabox Settings Page and a Bricks template to include contact details/simple form and a Services ordering block with a few buttons styled to match the my Brand.
I've added the settings page, and created a CPT with a custom html field. Now I want to add in the template. I know I can do this via an iFrame, however that requires extra coding (JS) to get rid of the WP Admin bar. I would prefer not to add extra code if not necessary (as with various updates to WP and Plugins, there's always the possibility it breaks).
My thoughts were to use the Shortcode provided by the Bricks Template. I used the PHP callback as suggested on this forum, however all CSS is stripped out and there is no styling at all.
I've tried setting Sanitize to 'none' and adding CSS to the custom CSS tab in the template using !important, but neither works.
Any remedies to get this to work would be great.
Perhaps Metabox could add a field type of Shortcode, that would be nice 🙂
Thanks for any help and suggestions, always appreciated.