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.

Contact Form 7 : How to enable shortcodes in Form and Mail Template

In a previous post, we learned how to enable WordPress shortcode in excerpts and custom fields. We also mentioned how to enable them in 3rd party plugins and in this article, we will go into more detail about this and show how to enable shortcodes in the Contact Form 7 plugin. We might want to add the custom shortcodes in the Mail Template, such as mail body, or use them in the Form Template to style the contact form to our liking.

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.

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, but we can add our own templates as well. This gives us the 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.

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 the CF7 plugin.

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.