• Resolved IncredibleWP

    (@incrediblewp)


    Hi,

    We would like to support block-based themes in our plugin and as part of the development, we’ve added a group of blocks that now serve as the foundation for complete templates within the site editor (created manually for archive taxonomies). The template for each archive taxonomy is the plugin frontend. We would like to automate the creation of templates so the end-users will get them as part of the plugin installation.

    While using regular themes (non block-based), we are using the “archive_template” and “single_template”.

    Could anyone please share the best practices for programmatically add site editor templates via a plugin? which filters should be used?

    Thanks,

    Idan

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.