WordPress functions.php-add CSS styles and JS scripts
Although our theme has a style.css file, it is not used yet. Let’s enqueue it now. Add the…
Learn how to design a website, write your website copy, design your website graphics and more with this step-by-step tutorial.
Although our theme has a style.css file, it is not used yet. Let’s enqueue it now. Add the…
Creating and customizing a child theme in WordPress is a good practice to ensure that your customizations are…
As with sidebars and navigation menus, we can’t just output featured images in our theme and expect them…
Adding a Sidebar Our theme also doesn’t have a sidebar (widget area), let’s fix that now. First, we…
Functions.php is not strictly a required file, but it provides so many benefits that 99.99% of themes have…
index.php is a strictly required file. Its job is to render all of our theme’s front-end output. Since…
In /wp-content/themes/, create a folder called my-custom-theme and create the following two files: style.css In order for WordPress…
Tracking buttons with Google Tag Manager (GTM) involves a few steps to set up tags, triggers, and variables….
Firstly we want to add a generic button click trigger, so we can track all clicks on the…
Regex symbols, also known as regular expressions, are special characters with unique meanings that allow developers to create…