Skip to content

Instantly share code, notes, and snippets.

@atsea
Created September 26, 2014 14:14
Show Gist options
  • Save atsea/f994abe0dc50ed4619dc to your computer and use it in GitHub Desktop.
Save atsea/f994abe0dc50ed4619dc to your computer and use it in GitHub Desktop.
tell WordPress to load the Smoothness theme from Google CDN
// tell WordPress to load the Smoothness theme from Google CDN
$protocol = is_ssl() ? 'https' : 'http';
$url = "$protocol://code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css";
wp_enqueue_style('jquery-ui-smoothness', $url, false, null);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment