A look under the hood of a well built WordPress website, describing the plugins, patterns, processes, and tools that I use and recommend to build high quality custom WordPress websites.
High-quality WordPress sites are becoming increasingly rare, unfortunately, with heavily overbuilt themes customized by resource-intensive page builders like Elementor becoming the norm. Many of these sites are slow, restrictive, error-prone, and result in companies resenting WordPress, feeling it’s not a suitable tool.
This article outlines the things that I personally recommend to clients, as well as things I’ve observed being used by the best WordPress agencies worldwide. While entirely situational and opinionated, I hope there are valuable insights here for you.
Cloudflare DNS provides advanced security, bot and DDoS protection, and optimizations that greatly improve page speed scores. It significantly enhances WordPress site security, making firewall plugins like Wordfence unnecessary.
Kinsta offers fast, secure, and fully managed WordPress hosting, providing:
With Kinsta, you’ll spend no time managing your server stack, a tremendous benefit over traditional hosts and even other specialized WordPress hosts. WP Engine is a close second.
GitHub private repositories store all code-related work for disaster recovery and maintain a clear project history vital for business continuity. Clearly labeled commits help tremendously, allowing collaboration between internal developers, external freelancers, and contractors, while providing transparency into all changes.
Git-based deployment is, in my opinion, the ideal deployment method. Many agencies recommend pipeline or CI deployments, but these slow down processes and add unnecessary complexity for WordPress. With Git deployment, changes deploy in 5–15 seconds, compared to a minute or more with pipelines.
Yoast or Rank Math for SEO helps optimize:
Both plugins work equally well; ranking differences are negligible and depend more on how effectively you use them.
Google Search Console monitors and optimizes your organic SEO by ensuring your site is fully indexable, identifying keywords driving traffic, showing keyword rankings, and notifying you of malware detection.
Google Tag Manager, added to your custom theme’s head section, tracks and manages third-party scripts for advertising and analytics. Benefits include independent management by marketing teams, version control of changes, and reliable testing and previewing without requiring staging environments.
Google Analytics tracks site analytics configured with enhanced and recommended events (e.g., form_start
and form_submit
) for lead tracking, along with custom conversion events. Using a single profile across multiple sites (with separate GA4 streams) simplifies management, filtering, and reporting via GA4, Looker Studio, or BigQuery.
BigQuery acts as your data warehouse, allowing you to store and own data from:
You can create dashboards in Looker Studio or run detailed analyses. Sales teams use this setup effectively, identifying leads from companies visiting B2B sites, enabling targeted outreach or drip campaigns.
Looker Studio dashboards provide quick views of key business metrics, offering a customized single source of truth superior to standard GA4 interfaces, with fully filterable, configurable insights tailored to your business needs.
For web forms, I recommend:
HubSpot for marketing automation is standard practice. Although I find it overpriced, it remains effective for email marketing and CRM functionalities.
WP Migrate DB Pro efficiently handles data migrations between localhost, staging, and production. It’s especially beneficial when onboarding new developers, accurately testing changes, and content approval workflows. For high-security profiles, you can run live sites in read-only mode, deploying approved changes from staging sites.
Advanced Custom Fields Pro manages custom CMS controls, template-specific meta boxes, and custom Gutenberg blocks. Custom blocks built with this are easier to create, maintain, and understand, ensuring content marketers publish safely while preserving brand integrity—something increasingly rare as design and content management become intertwined.
A custom theme precisely matches your brand and loads exceptionally fast. Avoid overly complex starter themes (like Roots Sage), as these become cumbersome and problematic long-term. I detailed my stance in a recent Smashing Magazine article.
Professional B2B and B2C sites follow common configuration patterns:
I also recommend these technical WP Config settings:
php
define('DISABLE_WP_CRON', true);
define('WP_AUTO_UPDATE_CORE', true);
define('AUTOMATIC_UPDATER_DISABLED', false);
define('WP_ENVIRONMENT_TYPE', 'production'); // or 'staging', 'development'
Disable WP Cron in favor of server cron provided by Kinsta or WP Engine, enable automatic updates, and set environment variables clearly.
A custom functionality plugin stores minimal customizations and logic separate from your theme, preserving vital functionality across theme changes. Use namespaced, object-oriented patterns for cleanliness and maintainability.
SMTP email delivery ensures reliable inbox delivery, especially when configured with providers like Mailjet, complete with DMARC, DKIM, and SPF records. Essential for password resets, notifications, and form submissions.
Disable unnecessary WordPress core features to improve speed, security, and predictability. Commonly disabled features include emojis, XML-RPC, JSON API, and XFN, among others rarely needed on professional B2B or B2C sites.
Bonus recommendations for developers to enhance workflow and quality: