PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Script
  4. Protocol Relative Theme Assets
Protocol Relative Theme Assets icon

Protocol Relative Theme Assets

Transforms enqueued CSS and JavaScript theme URLs to use protocol-relative paths.

By ryanjbonnell·Script·Free
4(2 reviews)
·20 active installs·Updated 11 years ago
DownloadVisit HomepageCompare

As of April 2026, Protocol Relative Theme Assets is a WordPress script plugin with 20 active installations and a 4/5 rating from 2 reviews. It has been downloaded 2.9K+ times in total. Requires WordPress 3.6+ and PHP false+. Available on WordPress.org since 2014. Last updated 11 years ago — may have compatibility concerns. Top alternative: Head & Footer Code.

4/52 reviews
20active installs
2.9K+total downloads
12 yearssince 2014

Overview

This plugin transforms any registered, enqueued CSS or JavaScript URLs into their “protocol-relative” equivalent.

Consider the following examples:

Protocol Relative CSS URL

<link href="//example.com/wp-content/themes/twentytwelve/style.css" />

Protocol Relative Javascript URL

<script src="//example.com/wp-includes/js/jquery/jquery.js"></script>

More appropriately called a “network-path reference” or “scheme-relative path”, a protocol-relative URL helps to avoid common scenarios such as:

  • Broken SSL padlock icon in browser’s address bar when showing mixed HTTP/HTTPS content
  • Error message in Internet Explorer saying, “This Page Contains Both Secure and Non-Secure Items”
  • Serving HTTP assets when viewing HTTPS pages

Th…

Read full description on WordPress.org

Ratings & Reviews

42 reviews
5 ★
1
4 ★
0
3 ★
1
2 ★
0
1 ★
0

Compatibility

WordPress3.6+ requiredTested up to 4.0.38
PHPfalse+ required

Top Alternatives to Protocol Relative Theme Assets

Head &amp; Footer Code icon
Head & Footer Code
5100K+ installsUpdated 4 days ago
ViewCompare
LuckyWP Scripts Control icon
LuckyWP Scripts Control
4.84.0K+ installsUpdated 10 months ago
ViewCompare
Emoji Settings icon
Emoji Settings
52.0K+ installsUpdated 11 months ago
ViewCompare
Unfiltered MU icon
Unfiltered MU
4.92.0K+ installsUpdated 7 years ago
ViewCompare
CP Blocks icon
CP Blocks
51.0K+ installsUpdated 4 days ago
ViewCompare
View all script plugins →

Frequently Asked Questions

Changelog

1.0

  • Initial release
View full changelog on WordPress.org

Contributors

ryanjbonnellryanjbonnell
Plugin Info
Version
1.0
Last Updated
May 21, 2014
WP Requires
3.6+
Tested Up To
4.0.38
PHP Requires
false+
Active Installs
20
Downloads
2.9K+
Added
May 21, 2014
Business
Free

Tags

scriptprotocolrelativejavascriptstylesheet

Developer

R
ryanjbonnell
1 plugins0.0M+ total installs
View all plugins →

Quick Compare

Protocol Relative Theme Assets vs Head & Footer Code→Protocol Relative Theme Assets vs LuckyWP Scripts Control→Protocol Relative Theme Assets vs Emoji Settings→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.