跳到内容

Enqueueror

v1.4.0

Panagiotis (Panos) Anastasiadis · 2022年1月9日 上架

Supercharged CSS & JS Coding for WordPress

正在使用
100+
评分
5.0 / 5
累计下载
5,038
最近更新
2024年7月20日
2 条评价需要 WordPress 5.0+已测试到 6.6.12PHP 7.1+

截图

Load assets "globally" as external files, for every kind of content.
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 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 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 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 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, 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, 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.
Load assets as external files, based on the slug or ID of a specific term in the "product_cat" taxonomy.

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.

Usage

  • Install Enqueueror.
  • Create the scripts and stylesheets directories under the active theme’s root directory.
  • Consult the guide at GitHub.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums