WordPress: Insert multilingual Facebook Like Button

If you’re using the qTranslate plugin for WordPress and want to insert the Facebook Like button in the corresponding language I came up with a small piece of code that you can insert into, e.g., your theme’s functions.php to get this working.

WordPress: is_child function

Every once in a while I would like to test whether the current page is a descendant of another page. This is particularly useful if you want to display certain content on a subset of your pages only. Although the Codex suggests a similar is_tree function I would like to present an extended version here. …

WordPress: is_child function Read More »

WordPress: Add notes to the comment form

Most themes use the comment_form action which can be used to add arbitrary things to the comment form with a plugin. This post presents a simple plugin that uses custom fields to add special notes to this section. You can download the plugin here, unzip it, upload it to your wp-content/plugins directory and activate it.