Skip to content

Conversation

@amirrnazemi
Copy link
Collaborator

Summary:

Implements [anys type="elementor" name="template" id="123"] shortcode to render Elementor templates with full styling and scripts, even on non-Elementor pages.

Details:

  • Added handler elementor.php for rendering saved Elementor templates.
  • Added utility anys_maybe_enqueue_elementor_assets() for conditional asset loading.
  • Includes validation, caching, and error handling.
  • Prevents recursion and unsupported types.

reardestani and others added 6 commits November 8, 2025 08:20
- All shortcode types were rewritten to align with the new class-based module architecture.
- The "Function" class was renamed to "Function_Type" due to PHP keyword conflict.
- A temporary workaround (marked with FIXME) was added in shortcodes.php to resolve dynamic class detection for the function type.
@amirrnazemi amirrnazemi closed this Nov 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants