Of course we all know there are a few widgets ready by default to drag into a sidebar, but where are these stored? I'd like the copy the code of the Categories and modify it slightly to show my Theme's "Portfolio Categories" ....which are Gallery Item Categories.

I see these by default:

Calendar Categories Custom Menu Links Meta Log in/out Pages Recent Comments Recent Posts RSS Search Tag Cloud Text

1 Answer 1


They're in the rather obviously named /wp-includes/default-widgets.php file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.