WP Rig 101: A Crash Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.พ. 2025
  • This is an updated crash course (v3.0.2) and introduction into getting up and running with WP Rig and understanding what it does, how it works and whether or not it is right for your WP project.
    00:25 What is WP Rig
    1:55 Who is WP Rig for?
    2:26 Who is WP Rig NOT for?
    3:35 Getting Started
    3:49 Prerequisites
    6:28 Step 1 - Clone Repo
    8:30 Step 2 - Install dependencies
    10:11 Overview of WP Rig file/folder structure
    10:50 Step 3 - Run the build
    11:50 CSS and JavaScript/TypeScript file naming and organization conventions
    15:13 Setting up WP Rig config
    16:42 Setting up BrowserSync
    20:15 Writing CSS/JS and seeing our changes
    23:35 PHP - /inc directory and object-oriented component structure
    27:40 New React-based options framework
    29:11 Enqueueing (including or loading) custom JS/CSS files
    33:14 CLI Tools: NPM Scripts
    34:00 Adding full site editor support to your theme
    37:50 Bundling your theme (prep for deployment)
    39:41 CLI Tools: Composer scripts
    40:14 Running PHPCS, PHPCBF, and other coding standards checks on your PHP
    42:45 CLI Tools: WP CLI Scripts
    42:55 Auto-setup your local WP env for theme development (dev_setup)
    44:45 Linting config for your JS and CSS linting
    46:21 Unit Tests with PHPUnit
    47:00 Documentation
    48:00 Asking question on Github
    48:22 Contributing

ความคิดเห็น •