Support » Plugin: WPtouch » wptouch mobile customizer not activating in WP backend

  • Hello,

    wptouch is installed on a sandbox site on a Pantheon.io hosting account. The front-end displays wptouch’s mobile site fine, but when we navigate to Appearance > Customizer in the backend to customize the mobile site’s colors, we are unable to access wptouch’s mobile customizer.

    We can see and click on the “Switch to Mobile theme” button that wptouch adds to WordPress’s customizer, but when clicked, nothing happens. The same desktop version of the site preview on the right reloads and the customization selections in the left vertical navigation remain the desktop version selections, and we are never able to see the wp-touch version of the site preview.

    We have disabled all plugins except wptouch, cleared browser history, and the issue persists. Also, there is no caching plugin installed or active within the WordPress installation.

    Have you ever encountered this? Any guidance or help you can provide to track down and resolving the issue is greatly appreciated.

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WPtouch

    (@wptouch)

    Hi @vicorock,

    Sorry to hear about the trouble you’re having with WPtouch. It’s not the experience we want any user to have.

    If possible, check if the desktop theme is the one causing the issue by deactivating it briefly and activating a Twenty-Something theme.

    You can also try moving the WPtouch Pro Customizer settings outside of the customizer and into the WPtouch admin panel by adding the code below to your site’s wp-config.php file, somewhere before the “Happy Blogging” line.

    define(‘WPTOUCH_USE_CUSTOMIZER’, false);

    Thread Starter VR Media

    (@vicorock)

    Thanks for the quick reply.

    Switched to the Twenty-Nineteen default theme and deactivated all plugins except the wptouch plugin and the issue still persists. Next added the — define(‘WPTOUCH_USE_CUSTOMIZER’, false); — line you suggested to wp-config.php. (FYI, had to change the curly opening and closing single quote after pasting in the line).

    Adding the line to wp-config.php did remove WPtouch’s customizer from the main WordPress Customizer BUT unfortunately it also removed the final two Setup options on WPtouch’s settings page. Specifically, the “Customize Theme” and “Subscribe to Newsletter” options are now gone, so we have no way to customize wptouch.

    Is there a way to force the “Customize Theme” option to appear again in WPtouch’s settings page? This seems like the easiest solution, if we can get it working properly.

    Thank you!

    Thread Starter VR Media

    (@vicorock)

    P.S. When on the WP Customizer page (with WPtouch default settings so the WPtouch Customizer settings appear in WP Customizer), Chrome’s Developer Tools console shows this error. Maybe that will help figuring out what’s happening?

    Uncaught ReferenceError: WPtouchCustomizer is not defined
    at doBauhausCustomizerReady (bauhaus-customizer.js?ver=2.2.4:69)
    at bauhaus-customizer.js?ver=2.2.4:79
    at dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,wp-a11y,wp-util,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-&load[]=ui-draggable,jquery-ui-droppable,backbone,wp-backbone,shortcode,utils,media-models,moxiejs,plupload,wp-plupload&ver=4.9.8:3)
    at r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,wp-a11y,wp-util,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-&load[]=ui-draggable,jquery-ui-droppable,backbone,wp-backbone,shortcode,utils,media-models,moxiejs,plupload,wp-plupload&ver=4.9.8:3)

    Thank you!

    Plugin Author WPtouch

    (@wptouch)

    @vicorock,

    You’re correct, sorry about that. This seems to only work as expected in WPtouch Pro. As a workaround, for now, you can use the preview theme url – SITE.com/?wptouch_preview_theme=enabled to preview the changes you’ve made.

    You can also easily access the preview by clicking on the “Preview Theme” button in the WPtouch admin panel. Look for it in the top right of the page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wptouch mobile customizer not activating in WP backend’ is closed to new replies.