Support » Plugin: Theme Switcha » Theme Switcha pugin – improvement to “Save” method

  • Resolved MKSnMKS

    (@mksnmks)


    Present Situation

    The instructions state;

    DO NOT click the “Save & Publish” button while in the Theme Customizer. If you do, your theme-switcha-enabled theme will be activated as the default (live) theme, and will be visible to all site visitors.

    This prevents the saving of settings at a stage that would otherwise be convenient for many users.
    It might be possible to be able to save under these conditions by using the following method;

    i) After the save button is clicked, the plugin first detects and saves the name of present default theme.

    ii) Then the customizations get saved. (At this stage WP will set the default theme to the recently customized theme).

    iii) After the save of the theme that is being customized has been completed, the plugin sets the default theme back to the detected original default (and sets the users specific default if needed).

    iv) If the save process takes more than a short instant in time, then the user may prefer to have the site placed in to maintenance mode for the duration of the ‘save’ process.

    Benefits;
    This additional method, would help avoid a (common?) pitfall, make the plugin even more easy to use, and would also allow the consecutive editing of multiple themes or variations of child themes without having to step out of switch mode to be able to do a safe save.
    Saving could be done at any time, and would not depend on the state of the settings or mode of use.

    I hope this is of some use.
    Thank you.

    • This topic was modified 1 year, 6 months ago by MKSnMKS. Reason: fix a formatting problem
    • This topic was modified 1 year, 6 months ago by MKSnMKS. Reason: improved presentation
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Thank you MKSnMKS, I will take a closer look at this during the next plugin update. I appreciate the detailed feedback, feel free to share any other ideas, questions, et al. Thank you.

    Hi Jeff,

    Thanks for the thanks.
    We have more than 10 themes installed (“and only one activated”).
    So there has plenty of doing “customize,save,reset default” procedures so far.

    We are working towards replacing our present theme, after doing side by side comparisons of several themes that we will be doing customizations on each to test.
    We plan to use this plugin for this work process, and are happy to give you more feedback and suggestions.

    Some thoughts of where this could go, are that this plugin could become ;
    a) something like a drop replacement for the theme customization’s ‘save’ button
    b) work with child theme development plugins (for save, and backend editing management)

    Interested?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme Switcha pugin – improvement to “Save” method’ is closed to new replies.