Category Archives: WordPress

How to remove items from +New admin menu?

This tutorial is actually taken from an answer I gave on StackOverflow to a question by sailingthoms Sailingthoms’s question I would like to limit the +New admin menu to only show the single sub menu Event (“Veranstaltung”). Basically the users are allowed to create other items as well but not from that +New menu. My…

Generate activation or deactivation link of WordPress plugin

You often need an action link to activate or deactivate a plugin. How do you do that? I have written a simple function that can help you achieve this.

How to use? This function requires 2 parameters; first one is the plugin file name, and second one is action type. Plugin file name is…

Edit Next Post – my 16th plugin published in WP repository

As I’m a man of Open Source, I always try to give back to the community. I already had 15 plugins published in WordPress repository. And today, the 16th one just added in the list. Of course free and Open Source. Edit Next Post, the plugin you’ll always need Imagine when you have a lot…

Add a ‘Scroll to Top’ button to your WordPress site

A ‘Scroll to Top’ button can enhance usability of your website. There are several plugins available out there that can help you achieve this. You just need to install the plugin and activate it. Few days back, I’ve written a plugin that adds this feature to a WP site. Unlike other similar plugins, this one…

Change WordPress password when ‘reset password’ is not working

Imagine a situation when you forgot the password of your admin account of your WordPress site, and ‘reset password’ is not functioning. Or even, you cannot remember the email you used for it. You cannot access the wp-admin area. Now what? Well, there’s a solution. You can change the password from phpMyAdmin without knowing previous…

How to stop WordPress from generating multiple image sizes

When you upload an image using the media uploader of your WordPress site, it creates multiple sizes of that image. By default, WordPress creates 4 additional sizes, but your theme and/or plugin(s) may create more sizes of that image. And it’s really a headache when you are considering your storage. So, how to stop it?…

How to remove default widgets (aka meta boxes) from WordPress dashboard

Remove default widgets from WordPress dashboard WordPress comes with some default widgets, i.e Activity, Quick Draft, WordPress News etc. Sometimes you may feel disgusted to see them on dashboard and wish to remove unnecessary widgets. There are a lot of plugins that can help you clean you dashboard. And you can do the same with…

How to clone or add new user roles – WordPress

WordPress is probably the best CMS (Content Management System) application to create dynamic websites easily. It shortens your development time and makes you comfortable. In my previous post, I discussed about How to rename user roles in WordPress. It will be a nice solution if you have below or equal to 5 member types in…