Import Dummy Data. Version: 1.0.0 Author: Aki Themes Author URI: http://www.akithemes.com License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Domain Path: /languages Text Domain: aki-toolset */ /** * Check the required theme is installed and activated or not. */ $aki_themes_name = wp_get_theme(); // gets the current theme /** * Condition for Opus Blog Demo Import. */ if ( 'Opus Blog' == $aki_themes_name->name || 'Opus Blog' == $aki_themes_name->parent_theme ) { require plugin_dir_path( __FILE__ ) . '/opus-blog-dummy-data/aki-toolset-opus-blog-dummy-data.php'; } /** * Condition for Free Blog Demo Import. */ if ( 'Free Blog' == $aki_themes_name->name || 'Free Blog' == $aki_themes_name->parent_theme ) { require plugin_dir_path( __FILE__ ) . '/free-blog-dummy-data/aki-toolset-free-blog-dummy-data.php'; }