Unable to upload files: “File is empty”

Out of nowhere I couldn’t upload files, getting the following message after the upload process completes: File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini Furthermore, I couldn’t see any of the […]

Redirecting logged in user from wp-login.php to home page

Just drop this in your functions.php:

Adding a button to TinyMCE – the Visual Editor in WordPress

I needed a simple button that would generate a shortcode on clicking. And that button had to be in the visual editor when adding or editing posts. That editor is implemented by TinyMCE, which is an opensource project too. Well, anyway, I wasted several hours fighting with existing plugins and themes that have introduced some […]

Simple Booking Form

http://wordpress.org/extend/plugins/simple-booking-form-wordpress-plugin/ Формуляр за резервации като за хотел (по дати), където в дадена страница просто се слага shortcode и от формуляра се пращат писма до админът и попълнилия формата.

WordPress optimization like a boss

Hello, Scanning our logs on your account further, it seems that the majority of the usage is coming from your WordPress installation. We suggest that you optimize the software to run as efficiently as possible to use the least amount of resources. Since you are using WordPress, I suggest visiting these following URLs for more […]

WordPress Security like a boss

Hello Vladimir, Thanks for your cooperation. As far as I see, the folder with an outdated WP installation is removed from your account and all WP installations are up to date. So I’m going to mark this issue as resolved. However, I believe, WP security steps below can help you in future: WP Security steps: 1. I advise you […]

“Language is already enabled or invalid!” when enabling new language to qTranslate

The error from the title pops-up when you enable a language you added a minute ago to the configuration (from the Settings -> Languages page). Usual case is you deal with an old database, that has collations, different from utf-8, and that messes up things. qTranslate FAQ will suggest you use a plugin called UTF Database Converter, […]