Monthly Archives: March 2009

How to disable all wordpress plugins?

Sometimes you have to disable wordpress plugins all at once and most wordpress webmaster don’t like going wordpress plugin section and
Disable manually one by one, this looks very boring and annoying.
Here I have real quick peaceful solution!
1. Open you wordpress database in PhpMyAdmin.
2. Open SQL query panel/popup window.
3. Run this command

UPDATE wp_options SET option_value = ” WHERE option_name = ‘active_plugins’;

And it’s done!!
This query will not remove any plugin from server. You can again reactivate your wordpress plugins manually from blog control panel.
You can use this query to make your wordpress blog automated.

Share

How to get the page name of the current URL?

Using this script you can get PHP current page from a url.

Share

How to Get the Page URL with php code?

Every php coder ask questions to get CURRENT PAGE URL with PHP, it is not as straightforward in raw php coding as one may think to get the current url to use it inside your application. Here is a code which you can use to get url easily.

Share