Load Microthemer on page has no top admin menu

Author Posts

jfoc

Hi,
Is possible to load Microthemer on-page that has no top admin bar menu?
https://teeindesign.com/design-editor/?product_base=2&product_cms=9842


jfoc

I found the way 🙂


jfoc

but seems the selector is not working
https://www.loom.com/share/a84296a4df9949948c997ec20341b60f


Sebastian

Hey,

The page needs to run the wp_head function in order to load plugin scripts and stylesheets, like the MT script which allows the interface to talk to the site frontend. It looks like the page you’re working on doesn’t load any such resources, so MT can’t interact with the page to create selectors. And it doesn’t load the MT stylesheet on the page either. So I don’t think this will be possible without making some changes to the page.

Cheers,
Sebastian


jfoc

Hi,
What changes needed?


Sebastian

Hey, sorry for the slow reply. I’m currently on holiday so support will be a bit sporadic.

It’s hard to say exactly what you need to do, as I’m not sure why that page is generated in a different way to most WordPress pages. Is it in fact generated by WordPress? If so, are there some settings in the theme or plugin responsible for that page where you can choose to load JS and CSS in the head of the page? Some optimisation plugins offer remove the usual wp_head resources to declutter the site, but that can interfere with the usual operation of plugins that require those resources, like MT in this case.

Cheers,
Sebastian


jfoc

Hi,
So I only need to load wp_head and MT will work?


Sebastian

Yes I think so. If you can adjust a theme template file to add:

wp_head();

That should load MT’s resources.

Thanks,
Sebastian

You must login or register to reply to this topic.