Tag: Up and Running

WordPress Hooks, Actions, and Filters: What They Do and How They Work

hook | wordpress hooks actions and filters

This article introduces one of the most important topics in WordPress development: WordPress hooks, including action hooks and filter hooks. Hooks are at the core not only of how WordPress plugins work, but nearly all code in the WordPress ecosystem: most WordPress themes use hooks heavily, as does “WordPress core” itself. WordPress hooks are absolutely a must-know topic in WordPress development.


Defer Parsing of JavaScript in WordPress

It’s a common complaint when you run your WordPress site through any “page speed score” tool: “defer parsing of JavaScript” and/or “remove render-blocking JavaScript.” Today, building on an article Fred first wrote in 2015, I’m going to discuss a was to solve that. It’s been possible since WordPress 4.1, which introduced of a new filter, script_loader_tag. This filter lets us easily change the HTML markup of enqueued script elements—that is, of JavaScript files that were correctly added into a WordPress site using WordPress’s wp_enqueue_script function.



How to Migrate a WordPress Site Without Crying

WordPress site migration

A major advantage of WordPress over other website solutions is that you can migrate a WordPress site. Unlike solutions such as Squarespace and Wix, WordPress sites can be freely migrated from one hosting environment to another, without your ever being locked into a specific provider.






Understanding “Server-Side” and “Client-Side” in WordPress

Distance | wordpress server and client

This article explains “server-side vs. client side” in WordPress development. This distinction, and how the server side and client side interact, is at the core of not only WordPress development, but of any real understanding of how the web works.