WordPress: Passing Params to get_template_part()

July 13, 2021 A Goodman

When using the get_template_part function in WordPress, you can pass parameters to it as shown below: Then you can retrieve the passed variables in the template file like this: In this case, $args is a reserved…

Using Docker Compose to speed up WordPress development

December 2, 2020 A Goodman

Using Docker Compose to speed up your WordPress development. Introduction In the old days, to set up a WordPress project on our local computer, we used to create a new MySQL database, manually download the WordPress…

How to insert 4K images in your WordPress posts

June 29, 2020 The Shadow

After editing your php.ini file (some stuff similar to upload_max_filesize = 100M), you can upload big images but still can not insert them into your posts. Even if you select Full Size from the image size…

WordPress: Show related posts by tags

July 13, 2021 The Plumber

This article shows you how to display related posts by tags in WordPress. Place the following snippet in your single.php where you want the related posts to show up (a good spot is right below your…

5 popular websites built with WordPress

March 31, 2021 The Shadow

WordPress is the most popular CMS on the planet, trusted and used by millions of people and companies around the world for nearly 20 years. Let’s have a look at some of the biggest websites using…

How to remove WordPress logo on the admin bar without plugins

January 27, 2020 A Goodman

In order to remove the WordPress logo on the admin bar, just place the code snippet below into your functions.php: Simple as that 🙂

How to disable post tag in WordPress

January 27, 2020 A Goodman

You can easily disable post tag in WordPress by adding the code below into your functions.php: That’s it.