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

February 22, 2022 A Goodman

This article is about 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,…

How to insert 4K images in your WordPress posts

January 26, 2022 Hadrianus

After editing your php.ini file (setting upload_max_filesize = 100M or another big number), you can upload big images but still can not insert them into your posts. Even if you select Full Size from the image…

WordPress: Show related posts by tags

July 13, 2021 Napoleon

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 (2022)

January 1, 2022 Hadrianus

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 26, 2022 A Goodman

In order to remove the WordPress logo from the admin bar, just place the code snippet below into your functions.php: Simple as that. Further reading: WordPress: Passing Params to get_template_part() Using Docker Compose to speed up…

How to disable post tag in WordPress

January 26, 2022 A Goodman

You can easily disable post tags in WordPress by adding the code below into your functions.php: From now on, you will no longer see the Tags submenu inside the Posts menu on the left sidebar. You…