Title: Enqueueror
Author: Panagiotis (Panos) Anastasiadis
Published: <strong>9. januar, 2022</strong>
Last modified: 19. juli, 2024

---

Søg plugins

![](https://ps.w.org/enqueueror/assets/banner-772x250.png?rev=2654870)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/enqueueror/assets/icon-256x256.png?rev=2654870)

# Enqueueror

 Af [Panagiotis (Panos) Anastasiadis](https://profiles.wordpress.org/panastasiadist/)

[Download](https://downloads.wordpress.org/plugin/enqueueror.1.4.0.zip)

 * [Detaljer](https://da.wordpress.org/plugins/enqueueror/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/enqueueror/#reviews)
 * [Udvikling](https://da.wordpress.org/plugins/enqueueror/#developers)

 [Support](https://wordpress.org/support/plugin/enqueueror/)

## Beskrivelse

Enqueueror empowers WordPress developers to manage and develop their CSS & JavaScript
files efficiently. It facilitates conditional CSS & JavaScript loading through the
use of naming conventions and provides numerous features to enhance the code development
workflow.

#### Quick Start Examples

 * Load a stylesheet globally
    Code a CSS file named **global.css** in the **stylesheets**
   directory.
 * Load a stylesheet only when viewing the page with id = 1
    Code a CSS file named**
   type-page-id-1.css** or **type-id-1.css** in the **stylesheets** directory.
 * Load a stylesheet only when viewing the page with slug = ‘example-page’
    Code
   a CSS file named **type-page-slug-example-page.css** or **type-slug-example-page.
   css** in the **stylesheets** directory.
 * Load a stylesheet only when viewing the category term with id = 1
    Code a CSS
   file named **tax-category-term-id-1.css** or **term-id-1.css** in the **stylesheets**
   directory.
 * Load a stylesheet only when viewing the category term with slug = ‘category1’
   
   Code a CSS file named **tax-category-term-slug-category1.css** or **term-slug-
   category1.css** in the **stylesheets** directory.

#### Guide

You may read the guide at [GitHub](https://panastasiadist.github.io/Enqueueror/).

#### Usage

 * Install Enqueueror.
 * Create the **scripts** and **stylesheets** directories under the active theme’s
   root directory.
 * Consult the guide at [GitHub](https://panastasiadist.github.io/Enqueueror/).

## Skærmbilleder

 * [[
 * Load assets “globally” as external files, for every kind of content.
 * [[
 * Load assets as external files, based on a page’s slug or ID.
 * [[
 * Load assets as external files, based on a post’s slug or ID.
 * [[
 * Load assets as external files, based on the slug or ID of content provided by
   the “product” post type.
 * [[
 * Load assets as external files, based on the slug or ID of the content, irrespectively
   of the content’s post type.
 * [[
 * Load assets as external files, based on the slug or ID of a term belonging in
   the “category” taxonomy.
 * [[
 * Load assets as external files, when an arbitrary term in the “category” taxonomy
   is requested.
 * [[
 * Load assets as external files, based on the slug or ID of a specific term in 
   the “product_cat” taxonomy.
 * [[
 * Organize assets in directories by post type and taxonomy.
 * [[
 * Load assets as external files, when the Greek (WPML based) translation of an 
   arbitrary page is requested.
 * [[
 * Dynamically generate CSS and JavaScript code to be enqueued as external files,
   for every requested page, using PHP as a preprocessor.
 * [[
 * Load JavaScript assets as external files before the closing tag, for every requested
   page.
 * [[
 * Output JavaScript code contained in the .js file internally before the closing
   tag, for every requested page.
 * [[
 * Output code contained in the .js and .css files internally within the HTML section,
   for every requested page.
 * [[
 * Dynamically generate CSS & JavaScript code to be loaded internally within the
   HTML section, for every requested page.
 * [[
 * Mix of scenarios.

## Anmeldelser

![](https://secure.gravatar.com/avatar/481fd77feb7ab0faca5b18e06ac61df8117ae05bf2c14decf6e9c1a6841de1b1?
s=60&d=retro&r=g)

### 󠀁[Totally a lifesaver !](https://wordpress.org/support/topic/totally-a-lifesaver/)󠁿

 [chad97](https://profiles.wordpress.org/chad97/) 10. januar, 2022

Helped me a lot with the css/js organization. I was struggling for years trying 
to set everything up properly without a solution. I was writing the whole css code
at style.css so I had to set different classes for each element at the whole website.
Now I am creating a different file for each page so I have things more organized
and working more effectively. Very useful plugin.

![](https://secure.gravatar.com/avatar/afa7a5728ee6ece9fc2feeebee1978f2b406ba0fd41ec7c50ac5e4756804ea9c?
s=60&d=retro&r=g)

### 󠀁[Works like a charm !](https://wordpress.org/support/topic/works-like-a-charm-2026/)󠁿

 [creature](https://profiles.wordpress.org/dotmak/) 10. januar, 2022

Finally something i can easily manage .css / js files for my pages.

 [ Læs alle 2 anmeldelser ](https://wordpress.org/support/plugin/enqueueror/reviews/)

## Bidragsydere & udviklere

“Enqueueror” er open source-software. Følgende personer har bidraget til dette plugin.

Bidragsydere

 *   [ Panagiotis (Panos) Anastasiadis ](https://profiles.wordpress.org/panastasiadist/)

[Oversæt “Enqueueror” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/enqueueror)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/enqueueror/), tjek [SVN repository](https://plugins.svn.wordpress.org/enqueueror/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/enqueueror/)
via [RSS](https://plugins.trac.wordpress.org/log/enqueueror/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.4.0

 * Added: Official, direct support for **Polylang**.
 * Added: Support for **async** and **defer** script loading through the new **Loading**
   flag.
 * Changed: WordPress 6.6 compatibility update.
 * Fixed: Preprocessed, PHP-based assets will now be updated when their source files
   are updated.

#### 1.3.1

 * Fixed: Non string language codes returned by WPML filters are now properly handled.

#### 1.3.0

 * Added: Support for loading CSS internally before the closing tag.
 * Added: Support for loading CSS externally before the closing tag.
 * Added: Support for using internal CSS & JavaScript assets as dependencies both
   in and .
 * Added: Support for using external CSS assets as dependencies within .
 * Added: Support for mixing internal and external assets within the asset dependency
   chain.
 * Changed: Better support for loading assets before the closing tag.

#### 1.2.0

 * Added: Local assets and external script and stylesheets may be used as dependencies.
 * Added: Direct access to PHP preprocessed assets is prevented using .htaccess 
   rules.
 * Changed: Preprocessed assets are now served from /wp-content/uploads/enqueueror.

#### 1.1.1

 * Fixed: Handling of multiple dependencies.

#### 1.1.0

 * Added: Introduced support for header in assets.
 * Added: Introduced support for asset dependencies.
 * Fixed: Asset order rules not always respected.
 * Fixed: Error if WPML is activated but not set up.

#### 1.0.0

 * First release

## Meta

 *  Version **1.4.0**
 *  Senest opdateret **2 år siden**
 *  Aktive installationer **100+**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **6.6.5**
 *  PHP-version ** 7.1 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/enqueueror/)
 * Tags
 * [css](https://da.wordpress.org/plugins/tags/css/)[development](https://da.wordpress.org/plugins/tags/development/)
   [javascript](https://da.wordpress.org/plugins/tags/javascript/)[theme](https://da.wordpress.org/plugins/tags/theme/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/enqueueror/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  2 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/enqueueror/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/enqueueror/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/enqueueror/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/enqueueror/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/enqueueror/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/enqueueror/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/enqueueror/reviews/)

## Bidragsydere

 *   [ Panagiotis (Panos) Anastasiadis ](https://profiles.wordpress.org/panastasiadist/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/enqueueror/)