Category Archives: Wordpress

WordPress 3.5 – Image / Gallery Media uploader to custom plugin / meta box (easy)

With this simple and relative short code you can add the WordPress 3.5 Media Uploader to your own plugins. It will return single or multiple images and returns them in a comma seperated list. If you want to return other … Continue reading

Posted in Wordpress | Tagged , | 2 Comments

Fixing WordPress error: An error occurred in the upload. Please try again later

I’ve been spending a considerable amount of time in fixing the WordPress error: An error occurred in the upload. Please try again later. I received this error when trying to add image upload functionality to my own custom plugin. I had … Continue reading

Posted in Wordpress | Tagged , | 2 Comments

How to make WPML compatible with W3C Total Cache

If you’re a heavy user of WordPress and use WMPL together with W3C Total Cache then you might have found out that it doesn’t work properly when using alias domains for each language. The language switcher doesn’t work correctly anymore. … Continue reading

Posted in Wordpress | 3 Comments

Retrieve server/host Windows version

Not one of the easiest jobs, is retrieving the version information of your Windows computer with PHP. Other methods are available, but they don’t show you the exact version, usually just report WINNT or similair strings. The code below will … Continue reading

Posted in Wordpress | Comments Off on Retrieve server/host Windows version

WordPress shortcode output buffer versus appending to string

When your develop a Wordpress plugin there is a big chance that you will need to include a shortcode. If you simply echo each line, you will notice that your output will not appear on the right place. This is because Wordpress will output your code as soon as it encounters the echo. Therefore you should use a different way to get your output on the page. This will ensure that the output will appear on the place where you’ve added the shortcode. Continue reading

Posted in Wordpress | 4 Comments

WordPress footer no longer appearing

All of a sudden, the code included by WordPress Plugins dissapeared, the solution was easier than expected but took a lot of work to finally find out put before the body closing tag. Without the tag, the code won’t be … Continue reading

Posted in Wordpress | 1 Comment