By using’s services you agree to our Cookies Use and Data Transfer outside the EU.
We and our partners operate globally and use cookies, including for analytics, personalisation, ads and Newsletters.

  • Join the Best Wordpress and Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor

    Join us!
elementor official

Question Creating Elementor templates programatically



New Member
I want to create a template for either an accordion or toggle widget where the items represent directories and each line within an item is a filename (and a link to the file). Ideally to ensure I don’t miss any items and to reduce generation cost I would like to generate the template using a script that generates the json file for the template. This looks doable except for the values in the “id” fields. Has anyone ever done anything similar, any suggestions/pointers would be most appreciated.

Latest Resources

Other Elementor Resources

elementor official