Tagged: conditions, feature, idea, loading, logic, performance, request, suggestion
- This topic has 7 replies, 2 voices, and was last updated 9 years, 5 months ago by
NoahjChampion.
Author | Posts |
---|---|
NoahjChampion
October 31, 2015 at 1:54 pm
|
Heads up! this post was created when Microthemer was at version 4. The current version is 7. Some references to the interface may be out of date. Hi, I have a plugin that applies styles, scripts, and php conditionally throughout WordPress. So naturally, most css I would use from Microthemer or that I manually code I use in this plugin instead, because I can load that style sheet based on various conditions being met. The updates in Microthemer are just phenomenal! But this got me thinking that maybe the next best thing for Microthemer would be loading styles based on conditions as well to optimize the use of css loading. I know that sounds a lot simpler, given the Microthemer Interface than it would be to implement. But I would like to share the idea and see what you think! Here are some screenshots from my plugin about this to give a visual of what I mean. Disclaimer: Thoughts? |
NoahjChampion
October 31, 2015 at 1:55 pm
|
Oh, if I knew how to code, I would just work on this myself! But… I don’t ๐ That’s one reason I purchased Microthemer ๐ |
Sebastian
November 1, 2015 at 9:58 am
|
Hey Noah, Thanks for the suggestion. You ego should feel safe. It’s a perfectly valid suggestion. And I can see how it would be useful to you, as you favour separate stylesheets. I think other feature enhancements might be more beneficial to more of our customers right now. And so I’m adding it to the list but not making any promises on when it will be done. But here is my initial thoughts on implementation – A new popup screen would be added for managing and labelling page-specific conditions (a bit like the media query management popup). A condition could be optionally applied to MT folders in the UI. When a condition is applied, the styles for that folder are not written to the main active-styles.css stylesheet. They are written to a separate stylesheet which gets included on specific pages that meet the condition. Cheers! |
NoahjChampion
November 1, 2015 at 1:26 pm
|
Sebastian, Sounds great! Where are the list of new things being worked on? And thanks for listening and adding this feature to the list. What you described sounds ideal. |
Sebastian
November 1, 2015 at 1:57 pm
|
Hey Noah, The current list we’re working on is at the bottom of this post: https://themeover.com/guide-to-microthemer-v4-changes/ ‘Better selector targeting features’ being the big one. Cheers, |
NoahjChampion
November 1, 2015 at 5:09 pm
|
Thanks! Appreciate it. Sorry, I remember this list. I just dumbly assumed (having not been around in awhile) that when seeing the new update that this list was finished. There was so many awesome changes in the latest update, it’s like new. Sorry about that. Thanks for the link again! Appreciate it. |
Sebastian
November 2, 2015 at 10:02 am
|
No problem Noah! I’ve been resisting the (mighty strong) urge to do the new selector wizard until I’ve finished the responsive/CSS tutorial, as I think it will help many of our customers do way more with Microthemer. I much prefer programming and it’s been slow progress but the end is in sight now ๐ |
NoahjChampion
November 3, 2015 at 2:30 pm
|
Haha, ok. I gotcha. Thanks for the update. |