thunderbird / thunderblog

A simple, responsive, mobile-first Wordpress theme for the Thunderbird Blog
https://blog.thunderbird.net
MIT License
9 stars 5 forks source link

Load Thunderblog's themes and scripts only when it's time to do so. #36

Closed MelissaAutumn closed 1 year ago

MelissaAutumn commented 1 year ago

This should prevent the theme's style from bleeding into the admin back-end. As well as get rid of any warning messages with debug enabled. (On local instances.)

Tested on my local docker instance.

Notices:

image

Admin Theme Bleeding:

image

After:

image

Search functionality (javascript) still works:

image

And so does the menu bar:

image

(I don't have any menu items set-up.)

Tagging @devmount as he's probably the only other WordPress knowledgeable person who's worked on this project. 😄