WP CoffeeScript
WP CoffeeScript is a WordPress plugin that makes enqueueing CoffeeScript as easy as enqueueing JavaScript. Instead of using wp_enqueue_script(), as you would for JS, you just use enqueue_coffeescript(), which takes…
Betrachten Sie eine Alternative
WP CoffeeScript shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 15 years ago, and scores 23/100 on our health check.
- Kleine Benutzerbasis (10+ aktive Installationen)
- Bisher sehr wenige Bewertungen
- No update in 14 years
- Only tested up to WordPress 3.3 (latest is 7.1)
Tägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where WP CoffeeScript stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| coffeescript | #20 |
| cs | >100 |
| development | >100 |
| javascript | >100 |
| JS | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
About WP CoffeeScript
Aus der offiziellen Readme · V1.0Beschreibung
WP CoffeeScript is a WordPress plugin that makes enqueueing CoffeeScript as easy as enqueueing JavaScript. Instead of using wp_enqueue_script(), as you would for JS, you just use enqueue_coffeescript(), which takes almost exactly the same arguments. The only difference is that the second argument should be the file path instead of the URL. If you’d like to compile multiple CS files into a single JS file, you can use an array of file paths as the second argument.
Please note that the CoffeeScript executable must be installed on the server. You can also set a custom path to the executable (see the examples).
If you’d like to grab development releases, see what new features are being added, or browse the source code please visit the GitHub repo.
Beispiele
Enqueue a CoffeeScript file that’s in the theme directory:
enqueue_coffeescript('my-handle', get_template_directory().'/my-script.coffee');
Enqueue multiple CS files, compiling them into a single output file:
$script1 = get_template_directory().'/script1.coffee';
$script2 = get_template_directory().'/script2.coffee';
enqueue_coffeescript('my-handle', array($script1, $script2));
Enqueue a CS file in the footer with dependencies (the arguments are exactly the same as in wp_enqueue_script()):
enqueue_coffeescript('my-handle', get_template_directory().'/my-script.coffee', array('dep1', 'dep2'), false, true);
Set a custom path to the CS executable (the default value is coffeescript):
add_filter('wpcs_executable', 'set_wpcs_executable');
function set_wpcs_executable($path) {
return '/my/path/to/coffeescript';
}
Compile the CS on every page load (the default behavior is to only compile when the JS has been modified):
add_filter('wpcs_caching_enabled', 'disable_wpcs_caching');
function disable_wpcs_caching($is_enabled) {
return false;
}
Installation
- Put
wp-coffeescriptinto thewp-content/pluginsdirectory - Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress
- Make sure that the CoffeeScript executable is installed on the server or set a custom path to the executable (see the examples)
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Fragen und Antworten
WP CoffeeScript: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is WP CoffeeScript free?
Yes. WP CoffeeScript is free to download and use from the official WordPress.org plugin directory.
Is WP CoffeeScript safe to use in 2026?
WP CoffeeScript shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 15 years ago, and scores 23/100 on our health check.
How many websites use WP CoffeeScript?
WP CoffeeScript is active on 10+ WordPress websites and has been downloaded 1,882 times since it launched in January 2012. It was downloaded 36 times in the last 30 days.
Does WP CoffeeScript work with WordPress 7.1?
WP CoffeeScript is officially tested up to WordPress 3.3.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was WP CoffeeScript last updated?
The latest version, 1.0, was released on January 9, 2012 (15 years ago).
Who makes WP CoffeeScript?
WP CoffeeScript is developed and maintained by tombenner.
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
