WordPress powers sites for global brands, governments and school districts, but the platform is only half the story. The other half is how it is built. I have been writing WordPress code since the early days of the platform, I co-authored a book on building applications with it, and I have led builds for some of the largest publishers on the web. The pattern I see again and again is simple: sites that age well were built with standards, and sites that become a burden were built with shortcuts.
This post lays out the standards we use at AlphaWeb on every engagement, from a ten page municipal site to a multisite network with dozens of properties. Use it as a checklist when you evaluate any WordPress partner, including us.
Start with version control and real environments
Every project lives in Git from day one. Themes, custom plugins, configuration and deployment scripts are all versioned. Nobody edits files on a production server over FTP, and nobody installs a plugin on production to see what it does.
We run at least three environments: local development, a staging site that mirrors production, and production. Content flows down from production to staging so we test against real data. Code flows up from local to staging to production through a deployment process, never by hand. That one rule eliminates a large share of the outages we are asked to fix on sites built by others.
Follow the WordPress Coding Standards
WordPress publishes official coding standards for PHP, JavaScript, CSS and HTML. We enforce them automatically with PHP_CodeSniffer and the WordPress ruleset, plus ESLint and Stylelint for front end code. Automated linting is not about style for its own sake. It catches unescaped output, missing nonce checks, unprepared database queries and other issues that turn into security problems later.
Our pull request checklist includes:
- All output escaped with the right function for its context, such as esc_html, esc_attr or esc_url
- All input sanitized and validated before it is saved
- Nonces and capability checks on every form, AJAX handler and REST endpoint
- Database queries prepared with $wpdb->prepare or handled through WP_Query
- No business logic in theme templates; it belongs in a plugin
- Translatable strings wrapped in the correct internationalization functions
Keep logic in plugins, presentation in themes
A theme should control how a site looks. A plugin should control what a site does. When custom post types, integrations or business rules are buried in a theme, a redesign turns into a rebuild. We separate them so a client can refresh the design in three years without losing functionality or content structure.
For modern builds we favor block themes with theme.json, which gives editors a consistent set of colors, type sizes and spacing. Custom blocks are built as small, focused plugins with clear attributes and server side rendering where it makes sense.
Be deliberate about plugins
Plugins are one of the best parts of WordPress and one of the biggest sources of risk. Before a third party plugin goes on a site, we look at its update history, support activity, code quality, how many options and database tables it adds, and whether we need it at all. A site with fifteen well chosen plugins is easier to secure and faster than a site with sixty.
Automate testing and deployments
Our pipelines run linting and tests on every pull request. For custom plugins with real business logic we write PHPUnit tests. For critical journeys such as checkout, form submission or login, we add browser tests. Deployments are automated, repeatable and reversible. If a release causes a problem, rolling back should take minutes, not an evening.
Treat performance as a requirement
Performance is not something to bolt on at the end. We set budgets early for page weight, request counts and Core Web Vitals, and we test against them as features land. Object caching, page caching, image optimization and careful script loading are part of the baseline. Our WordPress performance service goes deeper.
Bake quality into components
Semantic HTML, keyboard support, visible focus states and clean markup cost almost nothing when they are part of the component library from the start, and they pay off in SEO, usability and accessibility. We check them in code review the same way we check escaping.
Document what a future developer will need
Every handoff includes a README covering setup, environments, deployment, custom post types, integrations, cron jobs and any unusual decisions. The best compliment a build can get is a new developer saying they were productive on day one.
Code review that teaches
Code review is where standards become habits. Every pull request on our projects is reviewed by a second developer before it merges, and reviews are written to teach, not just to approve. A reviewer explains why a query should use WP_Query instead of raw SQL, or why a value needs esc_attr instead of esc_html, so the next pull request is better without being asked. We keep reviews small by keeping pull requests small: one feature or fix per branch, with a short description of what changed and how to test it. Large, sprawling pull requests hide bugs. We also review configuration, not only code. A new cron job, a changed permalink structure or a new plugin setting can affect a site as much as a line of PHP, so those changes travel through the same branch, review and deploy process. Over time this builds a shared history in Git that explains why the site works the way it does, which is priceless when someone new joins the team or an issue resurfaces years later.
Enterprise WordPress development checklist
- Git repository with a protected main branch and pull request reviews
- Local, staging and production environments with automated deployments
- WordPress Coding Standards enforced in CI
- Business logic in plugins, presentation in a block theme
- A short, justified plugin list with a vetting process
- Performance budgets and Core Web Vitals monitoring
- Backups tested by actually restoring them
- Written documentation and a clean handoff
How this plays out on real projects
These standards are what made it possible to run large publishing platforms like the ones in our Microsoft on WordPress case study and to bring many properties into one system, as described in the DrugFree.org platform consolidation. Scale exposes every shortcut. Standards let a platform grow without falling over.
Frequently asked questions
Do these standards make projects more expensive?
Slightly more up front and much less over the life of the site. Most of the cost of a website comes after launch, in maintenance, fixes and redesigns, and standards reduce all three.
Can you apply these standards to an existing site?
Yes. We usually start with a WordPress site audit to see where a site stands, then fix the highest risk items first.
Do you work with in house developers?
Often. We can set up the pipelines and standards, pair with your team and review pull requests until the process runs on its own.
If you want a WordPress platform built to last, see our WordPress development services or request a quote.




