• Skip to main content

WP Clips

Update-Safe Code Customizing for WordPress

  • What is a Clip?
  • Documentation
    • Installing WP Clips
    • Customizing a Clip
    • Updating or Upgrading WP Clips
    • Precoded Clips
      • What are Precoded Clips?
      • Installing Precoded Clips
      • Precoding a Clip (Developers)
    • Managing Clips
    • Multisite
  • FAQ
  • Articles
    • Customizing Genesis Child Themes
    • Add or Customize Page Templates
    • Add or Customize JS and CSS Files
    • Optimizing Your Customizations
    • Managing Your Translations
  • ClipBank™

Optimizing WP Clips and your Customizations

May 12 2016 ·Written by Jon Barratt

Optimizing WP Clips and your customizations for maximum speed and efficiency is really very simple. You can do any or all of three things –

  1. Remove or hide unused files in your custom Clip. The custom-functions.php, custom-styles.css and custom-jquery.js files are all enqueued and called by default. However, you can limit your HTML calls by either deleting the unused files or simply hiding them in a sub-folder (e.g. clip/dormant/custom-jquery.js).
  2. Download and install a popular caching plugin such as W3 Total Cache or WP Super Cache. Configure to your requirements and be sure to contact your host for any possible server conflicts and essential settings.
  3. Download and install WP Clips Combine and Minify (via WP Clips or WP Clips Multisite). This will minify the CSS stylesheets and JS scripts of all custom and Precoded Clips and combine into a single file for each. Sets of combined/minified files can also be created for declared page conditions [e.g. if( is_archive() ) ] to prevent the inclusion of unrelated files. A further option is available to add HTML minification if not already enabled in another plugin.
  4. Note: Only CSS and JS files registered with the ‘clip-‘ handle prefix will be optimized by WP Clips Combine and Minify (as per Precoded Clip coding conventions).

And that’s all there is to it!

Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Share on StumbleUpon
StumbleUpon

About Jon Barratt

Jon has worked in a variety of creative disciplines over 25 years, including 17 years at the helm of Zynke Design, one of Australia’s most established design studios. He’s been credited on several films, is a qualified strategic intervention coach, and now lives and breathes WordPress, Genesis and WP Clips!

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • WP Clips
  • WP Clips Multisite
  • ClipBank

© Copyright 2015 Krolyn Studios · Privacy Policy · Contact Us