myThemes Wizard - WordPress Setup Plugin

With myThemes Wizard you can build a custom setup for each WordPress Theme and Plugin. Inspired from WooCommerce Plugin Setup. This is a GPL 2 WordPress plugin.

myThemes Wizard is a free plugin that allows easily build your own custom Setup for any WordPress Themes and Plugins. This plugin is dedicated to WordPress developers. Themes and Plugins require additional support to can be integrate with myThemes Wizard Plugin.

Integration

To integrate features of this plugin with you theme, in functions.php, is need define 2 actions: register action and setup action.

Register Action eg:

function my_wizard_register( $wizard )
{
   ...
}

add_action( 'mythemes_wizard_register', 'my_wizard_register' );

Setup Action eg:

function my_wizard_setup( $wizard )
{
    ...
}

add_action( 'mythemes_wizard_setup', 'my_wizard_setup' );

In register action function you will include wizard Steps and Fields. You can define recommended plugins ( one of fields type ) and if user will check some of the plugin then on begin of the setup this plugin will be Installed and Activated automatically.

In setup action function you will use settings values collected from steps and field ( register function ) to setup different theme options create pages and posts.

Register Action Steps and Fields eg: DropBox register-action.php

So you can see in the example above a register function with 4 Steps:

  • Step 0: Welcome Step
  • Step 1: Website Setup
  • Step 2: Create Pages
  • Step 3: Install and Activate Recommended Plugins

Setup Action eg: DropBox setup-action.php

After in your WordPress Theme or Plugin was be added support for register and setup actions you can install the plugin. The plugin not has settings or additional config actions. To run the setup is need access the URL admin_url( '/index.php?page=mythemes-wizard' ). How you will do that is your choice.

For example I include these feature in Gourmand WordPress Theme. On Admin Dashboard I create an About Page with Recommended Actions Section where is a button. this button use some additional JavaScript to install and activate the plugin myThemes Wizard and after this automatically the user is redirected to setup page. Remember this is developer tools.

Steps

Step type can be:

  • zero: not display step counter and navigation buttons will be "Not right Now" and "Let's go!"
  • default: display step counter and navigation buttons will be "< Previous" and "Next >"
  • setup: display step counter and navigation buttons will be "< Previous" and "Setup" if click on button Setup will start automatically setup with Install & Activate selected Plugins and do_action( 'mythemes_wizard_setup' )
  • other: not display step counter and by default not display navigation buttons also you can include additional element "navigation" in step args eg:
$wizard -> add_step( 'donate-page', array(
    'type' => 'other',
    'title' => __( 'Setup is already finished !' ),
    'navigation' => array(
        array(
            'label' => __( 'Dashboard' ),
            'url' => esc_url( admin_url( '/' ) )
        ),

        // OR / AND
        array(
            'action' => 'prev-step',
        ),
        array(
            'action' => 'next-step',
        ),

        // OR / AND
        array(
            'type' => 'primary',
            'label' => __( 'Setup' ),
            'action' => 'setup-step'
        ),

        // OR / AND
        array(
            'type' => 'primary',
            'label' => __( 'Customize Theme' ),
            'url' => esc_url( admin_url( '/customize.php' ) )
        ),
    )
));

Installation

Minimum Requirements

  • PHP version 5.4
  • WordPress 4.6.0

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of myThemes Wizard, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type myThemes Wizard and click Search Plugins. Once you’ve found our plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking Install Now.

version 0.0.4 (October 23, 2018)

  • Fixed Install Plugins Bug/li>

Comments ( 11 )

  1. ayrine

    nice themes

    I introduce my name Ayrine, I am 21 years old, and currently I work at one of the biggest companies http://pokercuan.com/ in Indonesia that offers various types of online gambling games that you can play using only 1 ID, my hobbies are hiking, biking, cooking, sometimes i like play games online.

    Reply
  2. daviddepp

    You contact now Frontier Airlines Reservations Number, we offer our 100% to deliver you the top class services in the market. You can trust us for your travel, and we assure you to provide you all the relevant information. About Frontier Airlines so you can Dial Now Frontier Airlines Reservations Number .

    Reply
  3. Sarah Natasya

    Agen Casino Online Indonesia 

    Reply

Leave a reply

Your email address will not be published.

*

saras.belva@mailxu.com prevost.raven@mailxu.com