Загрузка видео...
Не удалось загрузить видео
It's impressive how modern WordPress can look if you remove the Admin Menu and Top Bar. Inspired by the new shadcn sidebar release, I decided to extend #WordPress to use that new sidebar solution as opposed to the current one. This is WordPress core, just without the old Admin... show more
29,476 просмотров • 1 год назад •via X (Twitter)
Комментарии: 11

This was my weekend project after seeing: The idea behind the implementation is simple. Use PHP to make a more modern Admin Menu API, use that new API to create the sidebar.

New sidebars mean that we can do fun things like fix the Admin Notice problem once and for all. Here's a notification center concept:

Also was experimenting with merging @agentwp_ai into this more 'native' experience, as you can see in that video☝️

Finally, we banish the Top Bar components to the footer, like most modern platforms do:

As you can probably tell, this is pretty quick and dirty. There are many problems and rough edges. But I was shocked at how much nicer (imo) #WordPress looked by simply updating the main thing that we all use to get around it; the menus.

PS: this morning I saw a really nice example that's a bit more wholistic by @SaxonFletcher, which is absolutely worth checking out: Previously, the menus in my demo were collapsable (like shadcn), but I took inspiration from his implementation and moved submenus to their own interface within the sidebar.

My favorite part here! It's WordPress core!! Nothing is changed other than just ripping out the old menus and replacing with the new ones :)

Got some DMs about the search here. It's actually an external plugin that's been hooked into the input field in the custom sidebar. A big problem in WordPress is that there's no good central search in admin. This solves it.

@shadcn

@shadcn nice work! shadcn is 🐐ed

@shadcn It's so so good. And the sidebars are an absolute blessing, they're horrific to try and build from scratch



