Latest

qTranslate-X : How to make alt tag attribute of featured image change language

When you need a free plugin that would make your WordPress site multilingual, qTranslate-X is a way to go. It works great, but you might encounter a problem when trying to have multiple language support for attributes of Featured Image also known as Post Thumbnails. If you try to insert qTranslate language tags in Title, Description, Caption, and most importantly Alternative Text, you might notice that nothing gets translated when the_post_thumbnail() is called.

This article will show you how to make those fields multilingual.

Read More

Crayon-Syntax-Highlighter : How to hide / remove line numbers

Crayon Syntax Highlighter is a very popular highlight code plugin for WordPress. I use it for highlighting my code on this site. Recently, when writing a new article, I wanted to add highlighted code without line numbers and noticed, that unchecking the option “Display line numbers by default” to hide line numbers didn’t work at all. Fortunately, there is a workaround which is the topic of this article.

Read More

YARPP : How to use custom templates to show related posts

Yet Another Related Posts Plugin or YARPP is a very popular WordPress related posts plugin. It supports different display options, the most interesting among them is support for custom templates. YARPP comes with built-in templates from which we can choose from, but we can add our own templates as well. This gives us ability to really customize the look for the YARPP related posts. This article will show how to activate custom templates, how to edit existing or create new ones and finally it will show some useful code snippets that can be used in them.

Read More

Contact-Form-7 : How to add class to validation error messages

When customizing the look of the Contact Form 7 plugin in WordPress, you might want to add your own custom classes to either your form tag, form’s individual elements or validation error alert messages. Validation messages use <span> tag that already contains classes defined by the plugin, so we could simply override those classes, but what if we already have our own classes that we want to use? This post will show how to add classes in validation messages and other elements in CF7 plugin.

Read More

Contact Form 7 : How to create a custom URL validation

In WordPress, the Contact Form 7 is one of the most popular plugins for creating contact forms. One thing that you might have noticed though is that the validation of the URL field will not fail when you expect them to fail. For example, with the URL value of http://xxxx, the plugin will consider this as a valid URL, even though, the URL value is missing top level domain part. The solution to this problem is to have a custom validation for the URL field. This article will show you how to achieve that.

Read More

WP-Polls : How to fix wrong results in multiple answers poll

WordPress plugin WP-Polls is a very popular poll plugin with more than 100,000+ active installs at the time of writing. It is really easy to use, but I have noticed a strange behavior when using a poll with multiple answers. When showing results for this type of poll, the total percentage of all the answers can give you a number bigger than 100%. In this article I will show you how to modify the source code in WP-Polls, so that the total sum of all the answers gives 100% for polls with multiple answers and leave the polls with single answers unaffected.

Read More

Share this page

Back to Top