β π Release a Template Library API to allow bundling templates with themes (Related to #417) (Migrated) #30213
Replies: 7 comments
|
Sorry, can you explain ? |
|
The purpose is to redistribute theme specific library templates. The scenario is that I as a theme author create custom elementor templates that are specific for theme and in order to pass them on to my end user with the current setup, they a) have to download the theme, install and activate and then b) download the custom library templates and then import them in to the plugin. What I'm proposing is to have those custom library templates bundled within a folder in the theme & upon theme installation and activation, those templates would automatically be detected and imported in to the "My Library" and thus be available for immediate use. We could go further (more work) and not import the theme but the API would detect and make them available via a 3rd tab marked as "Theme Templates" in the Library pop up panel. |
|
"My Library" are just Custom Post Types so you can code something to import them from a json on theme activation. |
|
Awesome. This will be a great feature for elementor |
|
Any update on this issue? Thanks! |
|
Hi there,
|
Uh oh!
There was an error while loading. Please reload this page.
Will it be possible for the plugin to auto detect theme bundled custom templates?
All reactions