WordPress : How to prevent Copy and Paste Quotes to break in Code Syntax

Recently, I was writing an article containing programming code on the WordPress website. The code had single and double quotes in it and noticed that when I did Copy and Paste from the article into a code editor and then try to run the code, it threw syntax errors. It turned out that WordPress was automatically changing some characters when displaying the code syntax. In this article, we will learn how to make sure that the "Copy and Paste" of quotes work without a problem.

WordPress : How to highlight syntax code without using any plugins

There are many WordPress plugins for highlighting programming code. Until now, I have used Crayon Syntax Highlighter on this blog and was satisfied with it, but at the time of the writing, the plugin was last updated more than 2 years ago, so I started looking for the non-plugin alternative. In the end, I chose to use Google code-prettify library. This article will show you how to implement this library into the WordPress and how to make it more versatile by using few CSS tricks.

qTranslate-X : How to customize image Flags for Language Menu

The qTranslate-X is a free popular plugin that adds support for multiple languages on a WordPress site. I really like it, but the only issue I have with it is that the default image flags for the Language Menu are not that good. In this article, I will first show you different types of Language Switching Menu we can choose from and the two ways we can display them. Finally, we are going to replace those default images with our own.

WordPress : How to fix "No working transports found" error when updating Plugins

Recently, I installed WordPress on my local machine running Windows 10 to work on a WordPress theme. The WordPress site was mostly working without a problem except in a dashboard section of the site, where it was having some issues with updating. When I tried to update plugins to a newer version, the update failed, giving me, there were "no working transports found" message. Fortunately, the fix is simple and it should also apply if you are using EasyPHP or WAMP development environment.

WordPress : How to display only the most popular tags in a tag cloud

In my previous article about WordPress tag cloud widget, I showed you how you can display a count number for each tag. But what if you want to limit tags that are shown by displaying only the most popular tags and hide those with low count values. The tag cloud in WordPress doesn't have the parameter for that behavior, but by using another parameter, we can achieve the same result. In this article, we will add the code that will show only those tags in the tag cloud, that have count parameter value of 3 or more.