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 :
- 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.
- rename the
thesis.po file using your language code (ex for Italian language in will be : it_IT.po)
- open the file with the text editor of your choice and translate the strings filling the
msgstr value
- using the command-line utility
msgfmt to create the machine readable file : msgfmt -o it_IT.mo it_IT.po
- copy the files
it_IT.po, it_IT.mo into the wp-content/themes/thesis directory
- 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
- There may be missing strings, so add them to the .po file with Dreamweaver or notepad and generate the .mo file with poedit.
When somebody submits a comment to your blog and fill his website in the website field, a link appears on his name going to his site. If you wish to remove this link from the author name just use this plugin – Comment Link Manager
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:
http://codex.wordpress.org/Conditional_Tags
The first thing you need to do is create a file called feed.php. Copy the code below into the file you just created.
Read more…
The first thing to do is to paste the following php functions on the functions.php file from your WordPress blog theme:
Read more…
To resolve this issue go to:
yoursite.com/wp-content/plugins/mailchimp-widget/lib/ns_widget_mailchimp.class.php
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.
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.
Read more…
How to remove wordpress comment links?
5 May ’11
in Wordpress
When somebody submits a comment to your blog and fill his website in the website field, a link appears on his name going to his site. If you wish to remove this link from the author name just use this plugin – Comment Link Manager
{ 0 comments }