Normally, WordPress theme templates are created by adding PHP files to the active theme. Developersd Custom Theme Templates lets administrators build custom templates directly from wp-admin, with a visual drag-and-drop builder, and have them appear in the native Template dropdown when editing Pages, Posts, or supported Custom Post Types.
The plugin never creates or modifies theme files. Templates are stored as structured JSON and rendered dynamically, so they survive theme switches and updates.
manage_options)<script>, <style>, <iframe>, or PHP is ever permitted inside a templateon* event handlers, no style/src/href overridesEvery function, class, hook, option, database key, and AJAX action is prefixed with developersd_ to avoid naming collisions. The codebase follows WordPress Coding Standards and an OOP, single-responsibility architecture:
Developersd_Post_Types — CPT + taxonomy registration, meta boxes, savingDevelopersd_Template_Manager — data access, recursive sanitizationDevelopersd_Renderer — JSON HTML rendering, template_include hookDevelopersd_Admin — settings screen, list table, plugin linksDevelopersd_Assets — scoped script/style enqueueingDevelopersd_Ajax — preview + duplicate endpointsDevelopersd_Database — prepared-query helpers, cache managementExtend the builder via filters:
developersd_allowed_tags — add/remove permitted HTML tagsdevelopersd_content_types — add new content type handlersdevelopersd_rendered_template — filter final template HTML