maithemewp / mai-theme-engine Goto Github PK
View Code? Open in Web Editor NEWThe required helper plugin to power Mai Theme child themes.
Home Page: https://maitheme.com
The required helper plugin to power Mai Theme child themes.
Home Page: https://maitheme.com
color: rgba(0,0,0,0.5) looked good on ŌURA, but what about dark buttons?
margin-top: 1px;
margin-bottom: -1px;
^ for slight movement?
We use this too much, might as well include it.
Not much extra code, just make the current button/trigger for side menu more modular
Not just when shrink is enabled. Much cleaner to have slightly smaller logo as the default on mobile.
Not working
Parisi location menus go off the screen cause they add a ton. That shouldn't be allowed, but they seem to be doing it. Do we fix for parisi only, or make (at least primary nav) menus wrap by default? Probably should, but make sure header menus work as intended still.
Sooo, change 'mai-pro' to 'mai-pro-engine' to prepare for translation pot files.
https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/
Need to move the title inside the inner wrap
Use existing styles from Woo "My Account" navigation. Keep it DRY!
Another mobile menu option to add https://tympanus.net/Development/FullscreenOverlayStyles/index.html (Huge)
...if user tries to install Woo without it, that will avoid confusion.
Making a note that need to check if banner is enabled.
Might be worth adding the ability to pass a variable $object_id to mai_get_banner_id( $object_id ).
But, if we do that, we need to know if the object is post/term/user/etc. So, pass 2 variables?
This way, we could disable the banner for the shop and all products in one shot. Same with pages/posts/categories. We could control the banner in full parts of the website instead of how we have it now, which is globally or per-post/page.
Arghhhh this is terrible. Need to figure out a better way to handle archive settings fallbacks. Maybe skip the fallback altogether and go right to genesis_get_option().
if "enable archive settings" is unchecked, the rest of the archive settings don't show, which is correct. Then if "hide entries" is checked the enable box disappears, which is also correct. BUT when "hide entries" is then unchecked, the enable box appears, unchecked, as well as all the other settings. The other settings should not appear because "enable archive settings" is unchecked.
and probably other things, later.
OP: https://github.com/bizbudding/maitheme/issues/76
Image size already created, but what to do with it as a default?
Menu item text would be the font awesome code, then add a class of something like icon-only to the menu item.
This should either inherit the align(left/center/right) from G, or force a flex loop.
Similar to floating image left or right, etc.
Do we need to hook in ahead of time to check if post has shortcode and add notices? Or force redirect to cart anytime the shortcode is used with products?
Allow this, but make the side menu an overlay, not push the content over.
Currently this menu type is force disabled if fixed header.
if header is shrunk, and the window resizes, it recalculates the to offset, but then if you scroll back to top it needs to recalculate because the header grows back to default.
May be best to save the initialOffset as a var to re-apply if scroll position is 0.
Whatever the styling of the Woo buttons are on the shop page, all other buttons (hardcoded) take on that styling
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.