Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/gitsanje/elementor-dynamic-toolkit/archive/refs/heads/master.zipA foundation for dynamic data and query-powered Elementor extensions.
Description
Elementor Dynamic Toolkit is being developed as a reusable framework for dynamic data, WordPress queries, conditional visibility, and Elementor integrations.
The toolkit provides a reusable query engine, dynamic data providers, Elementor Dynamic Tags, conditional visibility services, and query-driven widgets.
Requirements
- WordPress 6.0 or later.
- PHP 8.1 or later.
- Elementor 3.20.0 or later.
Installation
- Upload the
elementor-dynamic-toolkitdirectory to/wp-content/plugins/. - Activate Elementor.
- Activate Elementor Dynamic Toolkit from the Plugins screen.
Development
Install development dependencies with composer install.
Developer API
The following filters are public extension points:
edt/query/args- modify validated query arguments before execution.edt/query/results- modify the resultingWP_Queryobject.edt/data_providers- register or replace dynamic data providers.edt/query_providers- register customQueryProviderInterfaceinstances.edt/dynamic_fields- add or remove Dynamic Tag instances.edt/conditions- register or replace condition instances.edt/widgets- add or remove Elementor widget instances before registration.edt/query/cache_ttl- change query result cache lifetime in seconds.
The query selector controls use the registered edt_query_select Elementor
control type, backed by Elementor's native select control implementation.
Example:
add_filter( 'edt/query/args', static function ( $args ) {
$args['posts_per_page'] = min( 12, (int) $args['posts_per_page'] );
return $args;
} );
All callback values remain subject to WordPress and plugin validation. Custom extensions should validate their own input and escape output at render time.
Custom query providers implement EDT\Providers\QueryProviderInterface. The
first provider that returns true from supports() supplies query arguments;
those arguments are validated before execution.