Skip to content

WordPress and WooCommerce guides (page 7)

Practical guides on WordPress security, WooCommerce, Core Web Vitals, development and monitoring, checked against primary documentation before publishing.

All articles, page 7

Try

86 articles

  • A wall of lit alarm clocks wired to a ledger; a robotic hand ticks off the ones that rang while one dark, silent clock is circled in violet.Monitoring

    7 min read

    WordPress cron monitoring: prove scheduled jobs ran

    If WordPress cron not running is delaying posts, emails, imports, or backups, first prove whether WP-Cron can spawn and whether events are already overdue. Then move the trigger to a system scheduler when timing matters, and monitor both overdue events and a success heartbeat from the jobs you care about.

    • WordPress
    • Monitoring
    • Cron
    Read article
  • A printed toggle switch lifts off a paper card and becomes a real glowing switch between a reader's fingers, small sparks around it.Development

    7 min read

    The WordPress Interactivity API: add front-end behavior to a custom block

    The WordPress Interactivity API gives custom blocks a standard way to connect front-end HTML to state and JavaScript actions. Since WordPress 6.5, you can declare an interactive block in block.json, add directives to server-rendered markup, and load behavior through a script module.

    • WordPress
    • Gutenberg Blocks
    • JavaScript
    Read article
  • Stagehands carry the large hero painting onstage first under a spotlight and a stopwatch while smaller frames wait in the wings.Performance

    7 min read

    WordPress LCP image optimization: make the largest image load first

    A slow WordPress LCP image usually needs three things: early discovery, high fetch priority, and a file sized for the space it occupies. Find the actual LCP element first, then remove accidental lazy loading, fix responsive image markup, preload late-discovered backgrounds, and retest.

    • WordPress
    • Core Web Vitals
    • Performance
    Read article
  • Cutaway building: glowing machines bolted into the concrete basement always run, while ordinary movable furniture fills the floors above.Enterprise

    7 min read

    Must-use plugins in WordPress: what belongs there and how to load them

    WordPress MU plugins are PHP plugins that WordPress loads automatically from a special directory before normal plugins. Use them for code that is part of the platform and must stay enabled, then keep optional features and third-party packages in the normal plugins directory.

    • WordPress
    • Enterprise
    • Plugins
    Read article
  • A faceless mannequin chef takes a ready meal box from warm, lit pantry shelves instead of cooking, with a shelf-space gauge on the side.Performance

    7 min read

    WordPress OPcache settings: size it, check it and keep it warm

    WordPress OPcache settings should be sized from the cache your PHP-FPM workers are using, not from a copied tuning block. Check the live OPcache status, count the PHP files in the active release, then make deployment resets and warm-up part of the release process.

    • WordPress
    • PHP
    • Performance
    Read article
  • Four faceless mannequin cooks at fixed stations while a long rail of order tickets backs up along the glowing pass.Performance

    8 min read

    WordPress PHP workers: size them, spot saturation and use fewer

    WordPress PHP workers are PHP-FPM child processes that execute uncached PHP requests, and pm.max_children caps how many a pool can serve at once. Size the pool from measured worker memory and available RAM, then confirm saturation with the PHP-FPM status page and logs before adding workers.

    • WordPress
    • PHP
    • Performance
    Read article
  • A robot puppeteer works a tiny shop page on strings, picking a shoe, filling a form and pressing checkout while cameras record each move.Development

    7 min read

    End-to-end WordPress Playwright testing for editor, admin and checkout

    WordPress Playwright testing lets a browser verify the editor, wp-admin, and checkout paths that a release depends on. Run those flows against wp-env, reuse a saved admin session, keep test data fixed, and save traces and screenshots when CI fails.

    • WordPress
    • Testing
    • JavaScript
    Read article
  • Miniature builders add a new room to a lit, lived-in model house on scaffolding, the extension glowing on the blueprint below.Development

    5 min read

    WordPress plugin database migrations with dbDelta, done safely

    WordPress plugin database migrations should compare a stored schema version with the version your plugin expects, then run only the missing steps. Use dbDelta() for table creation and supported schema changes, and use explicit, guarded migrations for destructive or unsupported changes.

    • WordPress
    • Plugins
    • Database
    Read article