Scripts and Styles

A free, open-source WordPress plugin


Overview

Scripts and Styles is a WordPress plugin that injects scripts (JavaScript files) and styles (CSS files) into the header and footer of your WordPress website. It encourages best practices for website performance and compatibility.

Scripts and Styles Admin Settings

Installation

  1. Download scripts-and-styles.zip.
  2. Sign in to your WordPress Admin site and navigate to the Plugins page.
  3. Follow the instructions in the Admin to upload and activate scripts-and-styles.zip.
  4. Navigate to WordPress Admin > Settings > Scripts and Styles.
  5. Paste URLs to JavaScript and CSS files.
  6. Click Save Changes.

Support

Having trouble with the plugin? Contact us for help.

Technical Details

Scripts and Styles uses the recommended approach for injecting JavaScript and CSS files into your WordPress website. Specifically, it calls wp_enqueue_script() and wp_enqueue_style() in response to the wp_enqueue_scripts hook.