Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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...

29,476 görüntüleme • 1 yıl önce •via X (Twitter)

11 Yorum

James LePage profil fotoğrafı
James LePage1 yıl önce

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.

James LePage profil fotoğrafı
James LePage1 yıl önce

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:

James LePage profil fotoğrafı
James LePage1 yıl önce

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

James LePage profil fotoğrafı
James LePage1 yıl önce

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

James LePage profil fotoğrafı
James LePage1 yıl önce

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.

James LePage profil fotoğrafı
James LePage1 yıl önce

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.

James LePage profil fotoğrafı
James LePage1 yıl önce

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 :)

James LePage profil fotoğrafı
James LePage1 yıl önce

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.

Brian Coords 💻 profil fotoğrafı
Brian Coords 💻1 yıl önce

@shadcn

Dennis profil fotoğrafı
Dennis1 yıl önce

@shadcn nice work! shadcn is 🐐ed

James LePage profil fotoğrafı
James LePage1 yıl önce

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

Benzer Videolar