=== Mystery Themes Demo Importer ===
Contributors:       mysterythemes
Tags:               mysterythemes, one click demo import, theme demos, demo, importer
Requires at least:  4.7
Tested up to:       6.3
Stable tag:         1.1.7
Requires PHP:       5.6
License:            GPLv3
License URI:        https://www.gnu.org/licenses/gpl-3.0.html

One Click Demo Importer For Mystery Themes official themes demo content, customization options, widgets and theme settings.
This plugin fetches the mysterythemes github config files to get demo source details. 

== Description ==

Import "Mystery Themes" every official themes by only a single click. Simple installation and activation of all required plugins at occurrence. Import all the customization options, theme setings, widgets of official themes in a simplicity way.

= Requirements =

* WordPress 4.7 or later.
* [Mystery Themes Official Themes](https://mysterythemes.com/themes/).

= Contribute =

You can contribute to the source code in our [GitHub](https://github.com/mysterythemes/mysterythemes-demo-importer) page.

= Video Tutorial =

[youtube https://www.youtube.com/watch?v=1-PQXECGySk]

== Installation ==
    1. Login to your WordPress Admin Area
    2. Go to Plugins > Add New
    3. Type “Mystery Themes Demo Importer” into the Search and hit Enter.
    4. Find this plugin Click “Install now”
    5. Activate The Plugin
    6. Use Mystery Themes Demo Importer on any themes from mysterythemes to import demo.

== Manual Installation ==
1. Download the plugin from WordPress.org repository
2. On your WordPress admin dashboard, go to ‘Plugins > Add New > Upload Plugin’
3. Upload the downloaded plugin file (mysterythemes-demo-importer.zip) and click ‘Install Now’
4. Activate ‘Mystery Themes Demo Importer’ from your Plugins page.
5. Use Mystery Themes Demo Importer on any themes from mysterythemes to import demo.

== Frequently Asked Questions ==

= What is the plugin license? =
* This plugin is released under the GPL license.

= What themes this plugin supports? =
* The plugin currently only supports Mystery Themes official themes.

== Screenshots ==

1. Theme Demos listing page.
2. Install and activate the required plugins.
3. Finally, Import the Demo with just one click.

== Changelog ==

    = 1.1.7 - October 04, 2023 =
        * Improvement - Make script hook compatible with child theme.

    = 1.1.6 - July 21, 2023 =
        * Fixed - empty value of support theme function.

    = 1.1.5 - May 28, 2023 =
        * Added - external theme slug.

    = 1.1.4 - May 19, 2023 =
        * Changed - function to support themes created by MysteryThemes using api.
        * Fixed - bugs in demo import popup while empty array for plugin list.

    = 1.1.3 - January 23, 2023 =
        * Added - new theme slug in supported theme array.
        * Removed - unused function and commented code.

    = 1.1.2 - April 15, 2022 =
        * Added - new theme slug in supported theme array.

    = 1.1.1 - September 27, 2021 =
        * Fixed - current theme slug at demo import section while switching theme.

    = 1.1.0 - July 28, 2021 =
        * Removed - mysterythemes overview widget.
        * Fixed - bug for random api call while refreshing pages.

    = 1.0.14 - July 26, 2021 =
        * Tweak - formatting php script.

    = 1.0.13 - April 19, 2021 =
        * Added - color blog dark theme slug.

    = 1.0.12 - January 06, 2021 =
        * Fixed - Design for demo import successfully fixed.
        * Fixed - Some Design Tweaks Done.
        * Modified - menus meta update with widgets_data_update filter, previously set with customizer_data_update filter.

    = 1.0.11 - December 22, 2020 =
        * Fixed - empty version fixed in all sort of theme demo.
        * Added - comments to the code, function and hooks.
        * Added - array listing for new theme.
        * Added - code for megamenu json data.
        * Added - message popup after demo import success added.
        * Added - megamenu widget id set to the columns.

    = 1.0.10 - Oct 11, 2020 =
        * Added - premium bundle plugin installation.
        
    = 1.0.9 - Sept 14, 2020 =
        * Added - admin dashboard news and updates widget added.
        * Removed - unwanted comments and code filtered.
        * Removed - admin dashboard news and updates widget's blog excerpt removed.

    = 1.0.8 - Aug 13, 2020 =
        * Fixed - transient set issue for child theme.

    = 1.0.7 - Aug 7, 2020 =
        * Added - plugin installation added for local plugin available at themes directory.
        
    = 1.0.6 - July 31, 2020 =
        * Added - customizer multicheckbox value setted.

    = 1.0.5 - July 18, 2020 =
        * Added - added scripts and attributes to work with custom execution time required for some themes' demo import.
        * Refine - code refine.

    = 1.0.4 - July 1, 2020 =
        * Added - some tweaks made in admin functions for child theme demo import support.
        
    = 1.0.3 - June 16, 2020 =
        * Added - support for child theme demo import.

    = 1.0.2 - June 2, 2020 =
        * Fixed - plugin activation issue when bulk install.
        * Added - suffix modification for some altered free/pro theme names.

    = 1.0.1 - May 24, 2020 =
        * Fixed - Navigation menu issue in widget.

== Upgrade Notice ==

    = 1.1.7 - October 04, 2023 =
        * Improvement - Make script hook compatible with child theme.

    = 1.1.6 - July 21, 2023 =
        * Fixed - empty value of support theme function.
        
    = 1.1.5 - May 28, 2023 =
        * Added - external theme slug.

    = 1.1.4 - May 19, 2023 =
        * Changed - function to support themes created by MysteryThemes using api.
        * Fixed - bugs in demo import popup while empty array for plugin list.

    = 1.1.3 - January 23, 2023 =
        * Added - new theme slug in supported theme array.
        * Removed - unused function and commented code.
        
    = 1.1.2 - April 15, 2022 =
        * Added - new theme slug in supported theme array.

    = 1.1.1 - September 27, 2021 =
        * Fixed - current theme slug at demo import section while switching theme.
        
    = 1.1.0 - July 28, 2021 =
        * Removed - mysterythemes overview widget.
        * Fixed - bug for random api call while refreshing pages.
    
    = 1.0.14 - July 26, 2021 =
        * Tweak - formatting php script.

    = 1.0.13 - April 19, 2021 =
        * Added - color blog dark theme slug.

    = 1.0.12 - January 06, 2021 =
        * Fixed - Design for demo import successfully fixed.
        * Fixed - Some Design Tweaks Done.
        * Modified - menus meta update with widgets_data_update filter, previously set with customizer_data_update filter.

    = 1.0.11 - December 22, 2020 =
        * Fixed - empty version fixed in all sort of theme demo.
        * Added - comments to the code, function and hooks.
        * Added - array listing for new theme.
        * Added - code for megamenu json data.
        * Added - message popup after demo import success added.
        * Added - megamenu widget id set to the columns.

    = 1.0.10 - Oct 11, 2020 =
        * Added - premium bundle plugin installation.
        
    = 1.0.9 - Sept 14, 2020 =
        * Added - admin dashboard news and updates widget added.
        * Removed - unwanted comments and code filtered.
        * Removed - admin dashboard news and updates widget's blog excerpt removed.

    = 1.0.8 - Aug 13, 2020 =
        * Fixed - transient set issue for child theme.

    = 1.0.7 - Aug 7, 2020 =
        * Added - plugin installation added for local plugin available at themes directory.
        
    = 1.0.6 - July 31, 2020 =
        * Added - customizer multicheckbox value setted.

    = 1.0.5 - July 18, 2020 =
        * Added - added scripts and attributes to work with custom execution time required for some themes' demo import.
        * Refine - code refine.

    = 1.0.4 - July 1, 2020 =
        * Added - some tweaks made in admin functions for child theme demo import support.
        
    = 1.0.3 - June 16, 2020 =
        * Added - support for child theme demo import.

    = 1.0.2 - June 2, 2020 =
        * Fixed - plugin activation issue when bulk install.
        * Added - suffix modification for some altered free/pro theme names.

    = 1.0.1 - May 24, 2020 =
        * Fixed - Navigation menu issue in widget.