Cart icon in WooCommerce
Adding a cart icon to a menu, with the number of products in the cart loaded dynamically.
· 3 min read
Senior Full Stack Developer
Web developer since 2009, passionate about performance, accessibility and static sites. Writes about SvelteKit, TypeScript and deployment automation.
Adding a cart icon to a menu, with the number of products in the cart loaded dynamically.
· 3 min read
What Google Tag Manager is, what tags, triggers and variables are, and a prototype cookie banner built entirely with Tag Manager.
· 7 min read
A closer look at get_plugin_data(), a very handy function for managing updates to your plugins' assets through versioning.
· 1 min read
Let's try to understand what cookies are and why the European Union issued two directives about them.
· 4 min read
A theme's style.css file starts with a long comment holding a collection of information about the theme itself. Let's find out what theme metadata is and which functions let us retrieve it.
· 3 min read
In a previous article I covered creating a child theme. Child themes are the solution the WordPress team came up with to let theme authors and users work in parallel without getting in each other's way.
· 2 min read
In the article about child themes I published the code snippet for functions.php, a file that is essential to how themes work. In particular I used the get_template_directory_uri function.
· 2 min read
Creating a child theme in WordPress is quick and simple. To create a child theme you need to follow a few simple rules to avoid running into problems.
· 3 min read