• I am developing a WordPress solution for my company using a custom plugin and theme. The goal is to provide clients with multiple demo designs (themes) without creating separate themes for each one. Instead, I want to build a single codebase using Timber and Twig, and allow users to select a demo during the initial setup or configuration.

    I plan to:

    Use Timber as the base theme framework and Twig for templating. Store all functionality in a separate plugin. Have a single theme with the ability to switch layouts and styles dynamically based on the selected demo. My questions are:

    How can I structure the theme to support multiple demos within a single theme using Timber and Twig? What is the best approach to manage demo-specific assets (CSS, JS, images, etc.) and templates? How can I allow users to choose and apply a demo during installation or later through the WordPress admin? Any advice, examples, or best practices would be greatly appreciated!

    • This topic was modified 1 week, 1 day ago by xariklios.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.