WordPress Distributed Denial of Service Attack (DDoS) Security Plugin

You may have heard about the WordPress security issue found out by the guys from Sucuri team. If not, long story short, over 162,000 WordPress sites were used for Distributed Denial of Service Attack (DDoS) trough a security whole. The WordPress team knows about the problem but it is not expected to be solved as it’s a default feature of WordPress, they state. WPshed.com is one of the sites that have been hit. You can check out if your site is being used to attack others here.

I wanted to address this issue immediately so I updated WP Sanitize, a security plugin I wrote a long time ago but still using it today. You just need to install and activate the plugin and amongst other security patches and daily database cleanup, the current DDoS problem is solved as well.

Click here to download the plugin.

Please note that the above link will be updated. Why?

This plugin is part of the assets I've sold together with VibeThemes.com so at this point they are the official owners of the plugin. I've sent them an email with the update for the DDoS security patch and I'm sure they will update the official WordPress repository where the plugin is hosted. Until then, I highly recommend you to update your version to this one or install the plugin if you don't have it installed yet.

Speaking of VibeThemes.com, I know for a fact that they are like me, beside the site design, very interested in speed and security which as you can see, it is a very important factor for your website success. Check out their themes here.

Note to ones I manage their websites. Because you are awesome and chosen wisely, your websites are already protected from this DDoS security whole so you don't have to do anything ;)

Control Each Post in the WordPress Loop

wordpress loopThe Loop is PHP code used by WordPress to display posts. It is how the loop is described in the WordPress Codex. Any HTML or PHP code in the Loop will be processed on each post, it is also stated in the same page. But is this 100% true? Do all posts need to look the same or have the exact same elements in the loop? No it doesn't. And in fact, any custom HTML or PHP can be rendered individually in the loop quite simple.

But why would you want to do this? Let's say you want to display an advertisement (an Adsense Ad for example) only after the third post in the loop. Or, you want to have a custom featured image for the first post, a different image size for the second and third post and, another image size for the rest of the posts. This is what I did in this WordPress theme. Of course, each type of posts have custom HTML IDs and different CSS styling. [Read more...]

WestHosts. Suspended Account For NO Reason!

westhost account suspendedI host most of my websites at Hostgator, even though many people are saying that Hostgator is not what it used to be. I even posted a tutorial on how to install WordPress multisite on Hostgator and is one of my most appreciated post. However, lately, I did experienced some problems with them regarding the page page load time. I did contacted the support (which was outstanding until now) and they suggested me to disable some plugins. I know for a fact that those WordPress plugins are not causing the problem and they are not the reason for the 1500-1600 average millisecond response time on the server. On the other hand I decided to focus more on WPshed.com. [Read more...]

How to create a custom Meta Box. The easy way.

In this article I will show you how you can create a custom Meta Box for your WordPress driven website. You will be able to add this to your existing theme or you can use this code in your plugin. There are several tutorials out there and also some plugins that lets you create a custom meta box, but all of them are quite complicated and, I like to keep things simple and avoid loading any unnecessary scripts in my theme. So let's get started! [Read more...]

Disable WordPress Admin Bar to All Users

There are some cases when you have multiple users on your WordPress powered website and the WordPress admin bar just gets in your way. You would like to get rid of it but not by unchecking the "Show Toolbar when viewing site" checkbox for all of your site users profile. You are lucky! There is a much more easy way to disable the WordPress Admin Bar (or site toolbar) by default to all users by using a single line of code. [Read more...]