Skip to content

Releases: Sulaiman-Dauda/scoped-css

v1.0.0 — Initial Release

Choose a tag to compare

@Sulaiman-Dauda Sulaiman-Dauda released this 20 Feb 23:16

Scoped CSS v1.0.0

The first official release of Scoped CSS — a lightweight conditional CSS manager for WordPress.

What's New

Core Features

  • Conditional CSS Loading — Target specific pages, posts, post types, or URLs instead of loading styles globally
  • 10 Condition Types — Entire Site, Front Page, Blog Page, 404 Page, Specific Page, Specific Post, Post Type, URL Exact Match, URL Contains, URL Starts With
  • AND/OR Logic — Combine multiple conditions for precise targeting

Editor & Tools

  • CodeMirror Integration — Syntax highlighting, linting, and code completion
  • One-Click Minify/Format — Compress or beautify CSS instantly
  • CSS Validation — Dangerous pattern detection for security

Performance & Architecture

  • Custom Post Type Architecture — Each CSS rule is a manageable post
  • Cached Queries — Single database query with WordPress transients
  • Zero Frontend JavaScript — No performance impact on visitors
  • Rate-Limited AJAX Endpoints — Secure admin operations

Developer Features

  • WP-CLI Support — List, enable, disable, and manage rules from the terminal
  • Multisite Compatible — Each site gets independent CSS rules

Migration

  • Automatic Migration — Existing CSS from Simple Custom CSS plugin is automatically imported on activation

Requirements

  • WordPress 5.3+
  • PHP 7.2+

Installation

  1. Download scoped-css.zip below
  2. In WordPress: Plugins → Add New → Upload Plugin
  3. Upload the zip and activate
  4. Go to Appearance → Scoped CSS to create your first rule

Full documentation: README