The Developer Guide for Demi WordPress Plugin explains how theme developers can integrate the plugin with their themes to provide a better user experience for their customers.
Demi allows developers to make their themes compatible with one-click demo import, making it easy for users to install a complete demo website after activating the theme. This is especially useful for themes distributed through marketplaces or custom theme stores.
In addition, developers can control access to premium demos by validating a purchase code or license key.
This section introduces the available developer features. Detailed instructions will be explained in separate articles.
Registering Theme Demos
Theme developers can register demos for their themes so they appear in the Demo Import page inside Demi.
This can be done using WordPress hooks or by configuring theme compatibility with Demi. Once registered, users will be able to see available demos directly inside the plugin and import them using the one-click demo import feature.
This approach allows developers to distribute multiple starter sites with their themes and help users quickly build websites based on demo layouts.
A detailed guide explaining how to register demos using hooks and configure theme compatibility will be provided in a separate article.
Premium Demo Acces
Developers may also want to provide premium demos that are only available to verified customers.
Demi supports this by allowing developers to implement license or purchase code validation before a demo can be imported. Once the code is validated, the user will gain access to premium demos within the demo import interface.
This is particularly useful for themes sold through marketplaces where demo access should be limited to valid customers.
A separate article will explain how to implement premium demo access using license or purchase code validation hooks.
Next Articles in the Developer Guide
The following detailed developer tutorials will be available in this section:
- Registering Theme Demos with Hooks Making You Theme Compatible
- Implementing Premium Demo Access with License Validation
These articles will provide step-by-step instructions for integrating Demi WordPress Plugin with your WordPress themes.