This plugin will import demo contents for the active theme which are configured with this plugin. By default the plugin will fetch the configuration files stored on our server.
If you want to configure your own theme with the plugin, you just need to point to your config.json file and pass it to the filter
cdi_git_config_location
Example:
If your URL to config.json is '
https://example.com/theme-demos/config.json'
You will have to pass this to the filter 'cdi_git_config_location' like
add_filter('cdi_git_config_location', 'git_url_config' );
function git_url_config(){
$git_url = '
https://example.com/theme-demos/config.json';
return $git_url;
}
[Support] (
https://centuryplugin.com/support )