Category: Wordpress

Delete all WordPress subscribers with simple script

Delete all WordPress subscribers with simple script

At some point you might need to delete all the WordPress Subscribers for some reason, mostly spam users. Here is a quick script to do it. Simply create a file in the root of you server with the following code: Don’t forget to delete the file when done on the server so no one can […]

Password Protect WordPress Attachments (files)

Password Protect WordPress Attachments (files)

You might have some sections of your Wordpress site that are only accessible for your Wordpress user. Pretty easy to protect the page or post in Wordpress for only the registered user but what about the attachments of the post/page (files, images)?

Easy redirect with WordPress function wp_redirect

Easy redirect with WordPress function wp_redirect

In a recent project, I had to redirect a specific category archive to a Wordpress page. I wanted to show special content when people were accessing the category archive page. This is actually pretty easy using the Wordpress wp_redirect function.

Best Backup Tool for WordPress

Best Backup Tool for WordPress

I recently discover one of the best backup plugin for Wordpress. What is fantastic with this backup tool is the fact it integrates with the major file sharing services like Dropbox, Rackspace Cloud or Amazon S3. Also you can schedule the backup of the database and files so you don’t have to worry anymore about doing this manually.

Quick Search and Replace in MySQL for WordPress Database

Quick Search and Replace in MySQL for WordPress Database

At some point you might have to change the url of a Wordpress site for some reason. There is quick and easy way to update all the URL fields in the Wordpress database to make sure there is no trace left of the previous URL.

Building a top contributor list in WordPress

Building a top contributor list in WordPress

You might be running a site or building a site for a customer where multiple people are contributing to the content. Then there come the time where you need to build a top contributor list of the Wordpress site users. I have been looking for plugins to do this, however I didn’t found anything satisfying or the one I tried were not very good for large list of user. So I have decided to poke around the web and combine some code with my own ideas.