Create a custom cursor with CSS effects in iPadOS style

Published January 15, 2021
Create a custom cursor with CSS effects in iPadOS style

Custom cursors and hover effects have been advancing steadily on the web for the last two years. It makes a website more sophisticated and gives a certain elegance to it. I’ve been playing with custom animated cursors and hover effects and it turns out that it’s really easy to create a custom animated cursor – without much impact on page load and without huge JS libraries.

In this tutorial, I’ll show you how to create a custom animated cursor and implement that on your website.

Create a category dropdown in WordPress customizer

Published January 8, 2021
Create a category dropdown in WordPress customizer

Whether you’re building a WordPress theme or a WordPress plugin, chances are that you need your users to select a certain category or multiple categories. For example, to apply some functionality or use different styling. You could do this via the WordPress customizer or, for example, in your own admin panel.

In this tutorial I’ll show you how to get a list of all the categories and how to rewrite that list to the format you need.

How to output custom HTML for WordPress comments

Published January 4, 2021
How to output custom HTML for WordPress comments

When you’re developing a WordPress theme, chances are that you want to or need to implement comments. WordPress makes this really easy with the wp_list_comments() function. How do we output the comments in a custom HTML format?

The wp_list_comments() function can take over fourteen arguments, so you would think: choices enough! But unfortunately, there is no parameter with which you can modify the HTML output. You can of course apply CSS, but sometimes you do need a different HTML output to accomplish a certain design.

How to exclude subdomains from WordPress Multisite

Published December 29, 2020; last updated on January 4, 2021
How to exclude subdomains from WordPress Multisite

I love WordPress Multisite. It allows you to get a new WordPress site up and running within minutes. Especially if you’re a developer and want to test a new theme (version) on a plain installation, this is really handy. Or if you are a company and you need a new site, e.g. for a project.

WordPress Multisite works with both subfolders and subdomains. Subfolders are sites created at domain.com/newsiteslug and subdomains are subdomain.domain.com.

How to use the Elementor Stylesheet::add_rules

Published December 22, 2020
How to use the Elementor Stylesheet::add_rules

When developing WordPress themes that use the Elementor page builder, you’ll sometimes want to add additional CSS to the stylesheet of a page. Elementor provides an extremely large amount of functions and hooks, but examples are scarce. In this article, I’ll give an example of adding CSS to an Elementor stylesheet.

How do CSS stylesheets work in Elementor

For this tutorial, I created a very simple page in Elementor. This page only contains a title.

Overview of the_content: Gutenberg & Elementor

Published December 18, 2020; last updated on December 19, 2020
Overview of the_content: Gutenberg & Elementor

For beginning WordPress developers, it can be difficult to grasp the concept of the WordPress the_content() function. In this post, I aim to explain the_content() in relation to WordPress single.php and page.php template. I’ll also explain how it is used by Gutenberg, Elementor and other page builders.

What is the_content() exactly?

First things first, what is exactly the the_content() function? The the_content() displays the content of a certain page or post. You know that pages and posts are of course editable by users.

How to add icons to customizer panels and sections

Published December 15, 2020; last updated on December 18, 2020
How to add icons to customizer panels and sections

The WordPress customizer is a great way to add theme options to a WordPress theme. The controls in the customizer are added in sections or panels. This allows you to structure your theme options. But when you have several extra panels or sections registered, things can start to become a bit unclear. In this tutorial you’ll learn how to easily add icons to panels in the WordPress customizer, which greatly improves the look and feel of the customizer.

How to clean up WP head-tag and improve pagespeed

Published December 11, 2020; last updated on December 18, 2020
How to clean up WP head-tag and improve pagespeed

The <head> tag WordPress generates is not tailored for performance, but only to suit the biggest audience possible. This means that on every optimised page, there are at least several tags and scripts redundant. Luckily, there’s an easy way to clean up the WordPress header tag and increase performance on your WordPress site.

  1. Remove the generated by WordPress tag
  2. Remove the RSD link
  3. Remove the WordPress REST API link
  4. Remove the WLW Manifest link
  5. Remove shortlink

1.

Conditionally output CSS from the customizer

Published December 8, 2020; last updated on January 18, 2021
Conditionally output CSS from the customizer

Enhancing your WordPress theme with customizer options means a great increase in user experience. In a lot of cases you would want to conditionally output CSS. In this tutorial I’ll show you the best way to conditionally output CSS from the WordPress customizer.

To accomplish this, I’ll be using the Kirki customizer framework. I highly recommend this framework to every WordPress theme developer, because it saves you tonnes of time configuring the customizer.

Beginners guide for the Kirki customizer framework

Published December 4, 2020; last updated on December 24, 2020
Beginners guide for the Kirki customizer framework

The WordPress customizer is a great tool to add options to your WordPress theme so users can customize it. There are many frameworks that allow theme developers to add options to their theme, usually in a specific admin panel. Kirki is a framework that allows you to add controls to the customizer, in a simple, fast and easily maintainable way.

In this guide, I’m going to introduce you to Kirki and explain how it works.

How to use TGM Plugin Activation – Full beginner’s guide (2021)

Published November 20, 2020; last updated on December 18, 2020
How to use TGM Plugin Activation – Full beginner’s guide (2021)

When building a WordPress theme, it’s likely that your theme depends on one or more plugins. This can be plugins like page builders or a custom theme plugin. Some plugins are required for the theme to function properly and some plugins you’ll only want to recommend.

One of the more popular ways to let people know that certain plugins are required/recommended is by using the TGM Plugin Activation library. This is a simple library that takes care of displaying a pop-up,

8 reasons to use Kirki as theme developer

Published November 12, 2020; last updated on December 18, 2020
8 reasons to use Kirki as theme developer

If you are a WordPress theme developer, you’re likely to spend hours making your theme customisable via the WordPress customizer. Adding settings, connecting them to controls, trying not to lose the overview. Kirki is a simple and free framework, that allows you to quickly add more than 30 advanced controls with a simple syntax. All the controls are beautifully designed and specifically optimised for the WordPress customizer.

There are several very good reasons to consider Kirki as your go-to framework for quickly building and adding customizer settings.

How to integrate Elementor in a WordPress theme

Published October 12, 2020; last updated on December 18, 2020
How to integrate Elementor in a WordPress theme

The Elementor page builder is the world’s best WordPress page builder and is used by millions of people. Integrating Elementor in your WordPress theme is easy and free, and doing so brings your theme millions of potential customers.

This tutorials explains how to integrate Elementor with your WordPress theme in a few simple steps. I’m going to go over some basic concepts and techniques that are important when using Elementor in your theme.