WordPress.org

Support

Support » Plugins and Hacks » [Resolved] How To Remove the Akismet Widget

[Resolved] How To Remove the Akismet Widget

  • It might be coming handy to you if you would like to unclutter the widgets interface of your wordpress blog: here is how to remove the Akismet Widget (that displays the number of spam blocked – hardly something you want your visitors to see).

    Add this to your functions.php file:

    function unregister_widgets(){
    unregister_widget( 'Akismet_Widget' );
    }
    add_action( 'widgets_init', 'unregister_widgets' );

    Here is a list of all sorts of widgets that you might want to remove (add them to the hereabove function):

    unregister_widget( 'WP_Widget_Pages' );
    unregister_widget( 'WP_Widget_Calendar' );
    unregister_widget( 'WP_Widget_Archives' );
    unregister_widget( 'WP_Widget_Links' );
    unregister_widget( 'WP_Widget_Categories' );
    unregister_widget( 'WP_Widget_Recent_Posts' );
    unregister_widget( 'WP_Widget_Search' );
    unregister_widget( 'WP_Widget_Tag_Cloud' );
    unregister_widget( 'WP_Widget_Meta' );
    unregister_widget( 'WP_Widget_Recent_Comments' );
    unregister_widget( 'WP_Nav_Menu_Widget' );
    unregister_widget( 'WP_Widget_RSS' );
    			unregister_widget( 'WP_Widget_Akismet' );
    			unregister_widget( 'Akismet_Widget' );

    http://wordpress.org/extend/plugins/akismet/

Viewing 1 replies (of 1 total)
  • I am using Thesis 2.1.7.

    I want to remove Akismet totally from my blog. I was able to remove the plugin from all of my other wordpress sites.

    On one of my websites, everytime I go into my cpanel and delete Akismet, it does not move out of my wp-content folder for some reason.

    WordPress is telling me there is a new version of Akismet.

    When I try to update to version 2.6.0 this is what happens:

    Update Plugin

    Downloading update from https://downloads.wordpress.org/plugin/akismet.2.6.0.zip…

    Unpacking the update…

    Installing the latest version…

    Removing the old version of the plugin…

    Could not remove the old plugin.

    Plugin update failed.

    Any ideas of how to remove Akismet?

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] How To Remove the Akismet Widget’ is closed to new replies.