wptouch logo

WPtouch

Mobile Suite for WordPress

WPMinify

When using WPtouch Pro in conjunction with the WP Minify plugin (off-site url), there are some additional configuration steps you’ll can do to have WP Minify play nicely with your mobile theme. Not doing so may cause your WPtouch Pro menu button and other functionality on your website to not work properly.

Exclude .js and .css files

1. Access the WP Minify settings via the Settings menu in your WordPress admin panel.

01-wp-minify-options

WP Minify Settings

WP-Minify Settings

2. Copy the list of JavaScript files below:

02-copy-javascript-files

Copy JavaScript files

List of Javascript files and other scripts:

wp-content/plugins/wptouch-pro-3/include/js/wptouch.js
wp-content/plugins/wptouch-pro-3/themes/classic-redux/default/classic.js
wp-content/plugins/wptouch-pro-3/themes/cms/default/cms.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/base/base-public.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/base/base.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/base/wptouch-preview.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/fastclick/fastclick.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/fastclick/fastclick.min.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/fastclick/wptouch.fastclick.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/featured/swipe.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/featured/swipe.min.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/featured/wptouch-swipe.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/google-fonts/google-fonts.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/infinite-scroll/infinite-scroll.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/load-more/load-more.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/media/fitvids.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/media/fluid-width-videos.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/font-awesome/fontawesome-webfont.eot
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/font-awesome/fontawesome-webfont.svg
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/font-awesome/fontawesome-webfont.ttf
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/font-awesome/fontawesome-webfont.woff
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/media/media.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/menu/menu.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/meny.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/wptouch.meny.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/spinjs/spin-jquery.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/spinjs/spin.min.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/webapp/add2home-config.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/webapp/add2home.js
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/webapp/webapp.js
wp-content/plugins/wptouch-pro-3/themes/simple/default/simple.js

If you have created and activated a copied theme you will also need to include its wptouch.js file. Add:
wp-content/wptouch-data/themes/_your_copied_theme_/default/js/wptouch.js

3. Paste the list of files in the “JavaScript files to exclude from minify” area.

03-paste-js-file-list

Paste JavaScript file list

4. Copy the entire list of CSS files below:

04-copy-css-files

Copy .CSS file list

List of CSS files:

wp-content/plugins/wptouch-pro-3/themes/classic-redux/default/responsive.css
wp-content/plugins/wptouch-pro-3/themes/classic-redux/default/rtl.css
wp-content/plugins/wptouch-pro-3/themes/classic-redux/default/style.css
wp-content/plugins/wptouch-pro-3/themes/cms/default/rtl.css
wp-content/plugins/wptouch-pro-3/themes/cms/default/style.css
wp-content/plugins/wptouch-pro-3/themes/foundation/default/style.css
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/font-awesome/font-awesome.css
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/menu/menu.css
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/webapp/add2home.css
wp-content/plugins/wptouch-pro-3/themes/foundation/modules/webapp/webapp.css
wp-content/plugins/wptouch-pro-3/themes/simple/default/rtl.css
wp-content/plugins/wptouch-pro-3/themes/simple/default/style.css

5. Paste the list of files in the “CSS files to exclude from minify” area.

05-paste-css-file-list

Paste .CSS file list

6. Click “Update Options”.

06-update-options

Update Options

Clear WP Minify’s Cache

7. Click “Show Advanced Options” to expand additional options.

07-show-advanced-options

Show Advanced Options

8. Click the “Manually Clear Cache” button to clear WP-Minify’s cache.

08-clear-cache

Clear WP Minify’s cache

0