adsense

How to Disable WordPress Widgets in MySQL





1. Open a Web browser on your computer. Type your blog address in the navigation text box and press 'Enter.'
2. Click the 'Admin' hyperlink in the bottom footer on your blog's main homepage. Type your administrator username and password in the login screen and press 'Enter.'

3. Click 'Appearance' in the left panel. Click 'Editor' to open the PHP editor for WordPress. All PHP code is controlled and edited from this editor.
4. Click the 'functions.php' page name in the right panel. Clicking a page name opens the PHP code in your editor.
5. Type the 'unregister_sidebar_widget' function and add the widget you want to remove. The following code shows you how to use the function:unregister_sidebar_widget('Archives');The code above disables the 'Archive' widget. Replace this text with the widget you want to disable.
6. Click the 'Update File' button at the bottom of the editor. The PHP changes are saved, and the disabled widgets are marked in the MySQL database.

Comments

0 Responses to "How to Disable WordPress Widgets in MySQL"

Post a Comment

Popular Posts

About