CSS Wizardry: CSS and Network Performance

CSS Wizardry: CSS and Network Performance

CSS Wizardry: CSS is critical to rendering a page—a browser will not begin rendering until all CSS has been found, downloaded, and parsed—so it is imperative that we get it onto a user’s device as fast as we possibly can. Any delays on the Critical Path affect our Start Render and leave users looking at a blank screen. What’s the Big Problem?

Torque: Using the Command Line for Automation – Part II

Torque: Using the Command Line for Automation – Part II

From Torque Mag: In my last post, I looked at how WP-CLI Aliases can be configured in order to use SSH to access local and remote servers. In this post, I’m going to crack the tough nut of how to sync a local database to a remote site using the command line and WP-CLI. In this case, the remote site is my production installation of WordPress running on WP Engine and my local install is a copy of the site that I use for development running VVV on my MacBook Pro. OK, Let’s dive into the details

Torque: Using the Command Line for Automation – Part I Remote Control WordPress with WP-CLI Aliases

Torque: Using the Command Line for Automation – Part I Remote Control WordPress with WP-CLI Aliases

WP-CLI is a tool that allows commands to be run in WordPress from the command line or terminal. One of the reasons why developers love WP-CLI is that it provides a way to automate WordPress and common operations that otherwise require navigating through the WordPress Dashboard in order to execute. There can be many clicks to get through operations like updating all plugins on a WordPress Installation. WP-CLI makes it possible to automate repeatable commands with scripting in order to create a list of executable tasks. Instead of running many commands, they can be saved together in a script and executed at once. The benefit of scripting is repeatability and this comes in handy when there is a need to manage tasks on many WordPress websites with consistency.

WPMU Dev: How to Write and Activate a Function in WordPress

WPMU Dev: How to Write and Activate a Function in WordPress

If you’re starting out developing your own WordPress plugins, or you’re creating your own themes, a skill you’ll need to learn is writing functions. Maybe you’ve written a function which didn’t work and you’ve given up in frustration. Or maybe you’re confused by action and filter hooks and you’re not sure how to get your function to work. In this post, I’ll help you get past any teething problems with writing functions. I’ll show you how to structure your function, give you best practice tips, and clarify the methods you can use to activate your function. So let’s get started!

Delicious Brains: Advanced Custom Fields: The Hero WordPress Needs Right Now, but Not the One It Deserves

Delicious Brains: Advanced Custom Fields: The Hero WordPress Needs Right Now, but Not the One It Deserves

I’ve been a fan of Advanced Custom Fields for a long time now, using it on pretty much every site I’ve built or worked on for the last 5 years. If you’re unfamiliar, Advanced Custom Fields (ACF) is a WordPress plugin that gives you much greater control of your WordPress content, utilizing custom post meta to enrich the content with structured data. It allows you to build and configure different types of data fields that will appear in meta boxes when your content editors update posts, pages, or custom post types (and much more).

CodeinWP: Does Serverless WordPress Make Sense? Shifter vs HardyPress – Top “Headless WordPress Hosting” Options Compared

CodeinWP: Does Serverless WordPress Make Sense? Shifter vs HardyPress – Top “Headless WordPress Hosting” Options Compared

When I first saw the terms, “headless WordPress hosting” and “WordPress to static,” I didn’t know what to make of it. I was like those poor Westworld hosts saying, “doesn’t look like anything to me.” Nevertheless, the idea – also known as serverless WordPress – is quickly catching on, and we now have two exciting companies aiming to bring serverless WordPress to the masses. Long story short, I had to investigate and get to the bottom of this whole headless WordPress hosting thing!

Join the Network