WordPress: Exclude category from single.php without WP_Query

I was working on a WordPress website the other day when a new category was added and those posts required a more customized single.php template, so they had to be excluded from the WordPress loop in the default single.php template. I wanted to achieve this without having to deal with custom post types or using WP_Query(), which is the focus of this tutorial.

WordPress: Fixing "No working transports found" during failed update

Recently, after installing WordPress on my local machine on Windows 10, I noticed that the WordPress had some issues with updating plugins and WordPress to a newer version. When I attempted to update plugins to a newer version, the update failed with the following warning message "no working transports found". Fortunately, the fix is simple and should also apply if you are using EasyPHP or WAMP development environment.

WordPress : Adding multiple users with same email

Recently I needed a way to add multiple users with a Contributor role on a WordPress website. The added user would not have WordPress login access and would only be used to identify which articles they contributed to the website. The problem was that to add a user in WordPress, you need to also provide a unique email address not yet used by another user as duplicate emails are not allowed in WordPress.

This article will show how to add multiple users using the identical Gmail address without adding any code or using a plugin.

WordPress : How to make sticky custom post types

Since WordPress 2.7, we can use sticky posts which keep posts at the top when going through the loop of posts. Even though the sticky posts were added way back in 2008, this feature still only works with built-in posts. With custom post types, it is currently not yet available. In this article, we will learn what sticky posts are, why they weren't added yet for custom post types, and how to make them stick anyway.

How to install WordPress, PHP, Apache & MySQL on Windows

When developing for WordPress locally on Windows, we need to have Apache, PHP and MySQL installed. There are web development environments available such as EasyPHP or WampServer, but I always prefer to install them manually. The experience you gain from it becomes useful when you encounter a problem with either PHP, Apache, or MySQL database as you will have a better idea where to look for the issues.

WordPress : How to fix critical error on your website during install

The other day, I was in the process of installing a WordPress website locally on Windows, so I set up everything necessary and ran the WordPress installation page step by step. In the final step, after clicking Install WordPress button, the page was loading for a while and then an error message showed up telling me about the critical error on your website. In this article, I will show you how I found the cause of the issue and how I fixed it.