Put “Tell a friend” button on your site!

These days I fould a few nice buttons to put on your site:

Very functional buttons with a lot of options and bookmarks for every site:



Only for Joomla: http://www.shape5.com/product_details/free_extensions/s5_tell_a_friend.html

How to translate the WordPress Thesis Theme

WordPress Thesis Theme is shipped in English language only, but it provides also the strings to translate in a file in PO (GNU Gettext Portable Object) format.
The file is thesis.po and is located in the directory wp-content/themes/thesis of your WordPress installation. The file thesis.mo that you’ll find in the same directory is the same file but in the machine readable format.
To translate the Thesis’s strings in your own language follow these simple steps :

  1. set your preferred language in the file wp-config.php : for Italian, for example, define ('WPLANG', 'it_IT');
    See these instructions WordPress in Your Language for a complete guide.
  2. rename the thesis.po file using your language code (ex for Italian language in will be : it_IT.po)
  3. open the file with the text editor of your choice and translate the strings filling the msgstr value
  4. using the command-line utility msgfmt to create the machine readable file : msgfmt -o it_IT.mo it_IT.po
  5. copy the files it_IT.po, it_IT.mo into the wp-content/themes/thesis directory
  6. In thesis 1.8 or later copy the files it_IT.po, it_IT.mo into the wp-content/themes/thesis_18/lib/languages directory
  7. There may be missing strings, so add them to the .po file with Dreamweaver or notepad and generate the .mo file with poedit.

WordPress Facebook like button plugin doesn’t show on category and tag pages

I’m using this one:

FaceBook Like Button Plugin for WordPress

by http://healyourchurchwebsite.com/2010/04/22/the-facebook-like-button-plugin-for-wordpress/

But there in one limitation. It doesn’t show the button on the category archive view and on the tag archive view pages. Probably in some cases it is good, but in others it’s better to show it.

So in order to do this go to the plugin files and open fblike_content_filter.php

On line 12 there is:

if(     (is_front_page() && $fblike_settings_show_on_front_page == 'true') ||
 (is_single() && $fblike_settings_show_on_single_post == 'true') ||
 (is_page() && $fblike_settings_show_on_single_page == 'true') )

Add two more lines so it will become like this:

if(     (is_front_page() && $fblike_settings_show_on_front_page == 'true') ||
 (is_single() && $fblike_settings_show_on_single_post == 'true') ||
 (is_category() && $fblike_settings_show_on_front_page == 'true') ||
 (is_tag() && $fblike_settings_show_on_front_page == 'true') ||
 (is_page() && $fblike_settings_show_on_single_page == 'true') )

Additional info on the WordPress conditional tags can be found here:

Why MailChimp widget disappears from my site when I sign up?

To resolve this issue go to:


onb line 249 there is:

$this->hash_mailing_list_id($this->number) == $_COOKIE[$this->id_base . '-' . $this->number] || false == $this->ns_mc_plugin->get_mcapi()

Just delete this and write in the brackets false.

This should resolve the issue and load the widget every time.

How to add a banner or something into Thesis Open Hook, but only visible in a post?

Just add this lines in the hook text:

if (is_single( )) {
banner here...
<?php } ?>

Don’t forget to allow php execution.

Here’s one related article: http://www.berchman.com/thesis-tutorial-custom-after-the-post-box/

How to allow more html tags in the wordpress comments?

Scenario: I am using the tinymcecomments plugin to give some formatting capabilities to commenters. Also oEmbed for Comments is nice one – when you put a link to youtube or vimeo it automatically embeds the video.
With the latest WP update I realised the span tag was removed from comments; colors attributes are filtered by the kses filter.

Continue reading How to allow more html tags in the wordpress comments?