i30 / elemental-theme-builder Goto Github PK
View Code? Open in Web Editor NEWAn intuitive theme builder for Elementor Page Builder (the free version).
License: GNU General Public License v3.0
An intuitive theme builder for Elementor Page Builder (the free version).
License: GNU General Public License v3.0
Incredible but true, i developed an addon for Elementor and I was just looking for sources to integrate the features you created.
To consolidate the code I had to make some contributions that I give you here because i don't have a Wordpress account.
Mon site de démonstration: EAC
Of course the download is free (GPLv2+)
Manager.php
Add action 'before_delete_post' to clean the DB
Method 'get_current_page_id'
Replace 'wc_get_current_page_id' by 'wc_get_page_id'
Method 'has_assigned_template'
Added is_category() et is_tag() to check the archive before is_tax()
Method 'update_template_location' check if 'show_on' is set
if ( in_array( $type, array( SiteHeader::TYPE, SiteFooter::TYPE ), true ) && isset( $settings['show_on'] ) ) { ... }
Force add_option autoloaded to 'no'
SiteHeader.php and SiteFooter.php
Export/import not working for importing a model
Method 'get_properties' added new property
'cpt' => [ 'elementor_library' ],
Method 'print_elements_with_wrapper'
Check the "DOM Optimization" experiment feature to avoid loading unnecessary divs
$is_dom_optimization_active = Plugin::$instance->experiments->is_feature_active( 'e_dom_optimization' );
PageLayoutSettings.php
register_post_meta: because $meta_name is empty 'Appearance/Widgets' is broken
Method 'enqueue_scripts' before loading the script i check the screen ID
if ( 'widgets' !== get_current_screen()->id ) {
...
}
Templates/BlankPage.php & SiteHeader.php
Added 'body_open();' after body_class();
Create new file compatibility-themes.php
For twenty of the most popular themes like 'Oceanwp, GeneratePress Hestia Astra Storefront Hello...'
I created actions before and after the header/footer to add the DOM structures corresponding to the current theme.
I'm not sure if this is the right method but...
And finally I test if the current theme is a block based theme to load or not the 'Header and Footer' features
because it doesn't work and I'm not familiar with block themes
if ( function_exists( 'wp_is_block_theme' ) && ! wp_is_block_theme() ) { load component } WP 5.9
I just finished the navigation menu and I still have some functionality to add like site title, logo, page title, breadcrumb...
Thanks again for your superb work.
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.