How Delete Default Widgets

 In Widgets

Hack: Remove Default Widgets

I have struggled to understand in how to use the WordPress’ calendar widget. It’s fair to say that many of us will never use plenty of the default widgets. So if you want them out of the way, just use the following code snippet:

As you can probably guess, you can elect to keep any individual widget by simply deleting the line of code that references it.

Nuno Sarmento
Freelance WordPress Developer
Recommended Posts

Leave a Comment

Start typing and press Enter to search