I use Wordpress with qTranslate, but I needed to have multilingual META tags which qTranslate doesn’t support – so I wrote a plugin to do the job myself. It’s pretty basic, but I thought I would share in case anyone else needs something similar.
Plugin can be found on Wordpress’ Plugin site here: qTranslate Meta at WP Plugin Directory.
The name says it all, if you use NextGen Gallery and have problems with GD thumnbnail generation, you might want to consider upping the PHP memory limit. You probably already suspected it, and it can be done by simply uncommenting one line of code.
Link here: Thumbnail Generation PHP Memory Limit NextGEN Gallery » Visser Labs.
So after upgrading to qTranslate version 2.5 I am not longer getting the validation error I used to get, ie meaning the small plugin is no longer needed.
Can anyone else confirm this?
So I wrote this code for allowing multilingual editing of the META fields when using Theme Hybrid (the “Hybrid Settings” panel on any add/edit post/page.
Here is the functions.php file, this should of course be combined with whatever else you’re using..
This is still an early version, so if anyone tries it out let me know if you have any issues/feature suggestions!
Download: functions-example.zip
This is a small plugin which fixes a validation error I was having with otherwise brilliant qTranslate plugin. Basically there were duplicate ID’s on the page, and I kept getting this error:
ID "qtranslate-3" already defined
For more, refer to this thread.
To date this doesn’t seem to have been fixed (I suspect not everyone experiences this issue), so I wrote a small plugin which manually re-writes on the qTranslate plugin files to get around the error.
Instructions:
- Copy into your wp-content/plugins directory.
- Activate it (with qTranslate already activated)
- You can de-activate immediately afterwards.
- Repeat steps 2 & 3 each time you update qTranslate
Download v1.1: qTrans Fixer Plugin
I’ve done quite a few Wordpress plugins but this is the first one I’m making public, because I think others might find it useful. Basically, you know how target=_blank is invalid in XHTML strict? Well, this uses a Javascript hack to get around this. The code was originally taken from this thread I came across: http://www.webmasterworld.com/forum21/11165.htm
More to come soon, meanwhile if you have any comments whatsoever about the plugin just let me know!
Go to WP Plugins Directory page