Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Behöver WordPress ett centrerat aviseringar? Vi tycker det, hur är det med you?

WordPress tillåter plugin- och theme-författare att visa notiser i admin area för att hålla användarna informerade om nya funktioner och updates. Men kl den hastighet som WordPress ekosystem växer, kan admin notices bli utom kontroll.

Att updating dina tillägg och se halva din vy täckt med admin notices är extremt irriterande.

Notifications in the admin area of a WordPress site

Det är dock ännu mer frustrerande som författare av tillägg eftersom vi är de som får skulden för det.

Sedan finns det naturligtvis tillägg som missbrukar admin notices i främjande syfte. Vissa som du inte ens kan close. Efter att ha sett Jeffs artikel på WPTavern och läst några av kommentarerna kände vi oss tvungna att skriva om detta ämne och erbjuda ett förslag som eventuellt kan fixa problemet.

Om du tycker att admin notices håller på att gå överstyr, så ska du veta att det bara kommer att bli värre (om inget görs åt det).

För närvarande finns det 44,000+ WordPress tillägg i den officiella plugin directory. Detta inkluderar ej tusentals som är hosted på Github eller kommersiella WordPress tillägg.

Eftersom fler utvecklare enter WordPress ekosystem och nya plugins skapas, kan du föreställa dig att det kommer att finnas en tid när du update 5 tillägg och se 5 olika admin notices.

Så vad är lösningen?

Ett centrerat aviseringar-center.

Du förstår, när vi konverterade OptinMonster från en WordPress plugin till en programvara som en tjänst (SaaS app), en av de första sakerna vi byggde var ett notification center för att hålla våra användare underrättade om nya ändringar.

OptinMonster Notification Center

Detta mottogs mycket väl av vår publik. Användare kan markera en notice som läst och de kan alltid gå tillbaka för att läsa tidigare notiser. Det är diskret och tjänar sitt syfte väl. De som vill hålla sig uppdaterade läser notifikationen, andra kan ignorera den genom att markera den som läst.

Awesome Motive har vi haft flera interna diskussioner om att bygga vårt eget notifikationssystem för vår serie av tillägg till WordPress.

Men det är eller ej genomförbart med tanke på att vi har så många tillägg. Om vi någonsin skulle behöva uppdatera en potentiell bugg i centrerat, skulle vi behöva uppdatera alla våra tillägg samtidigt.

En bättre lösning skulle vara om ett centrerat aviseringar lades till i WordPress core, och det fanns ett standardiserat sätt som alla utvecklare skulle följa.

Det finns ett bra bevis på konceptet tillgängligt i form av en WordPress tillägg som Barry Kooij skapade anropade WP Aviseringar Center (vi skrev om det här).

WordPress Notification Center

För närvarande har det pluginet inte alternativet att dismiss aviseringen eller läsa alla detaljer. Men det är en bra början på att lösa det här problemet.

Hur många av er gillar att se ett centrerat notification inbyggt i WordPress core?

Låt oss veta dina tankar genom att lämna dina comments under.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

31 kommentarerLämna ett svar

  1. Syed Balkhi

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Jiří Vaněk

    Honestly, it sometimes really bothers me when I update multiple plugins and then have to deal with all the informational messages in the admin area that I need to dismiss. I understand that for some plugin developers, this is also an opportunity to insert ads for the paid version of their product, but it can be too much. I have several plugins from your company like AIO SEO, Monster Insight, and Optin Monster, and I really appreciate your approach to informing users about various changes. Such notifications are not intrusive, and I can read them when I have the time and inclination to learn what’s new. I usually dismiss and don’t read the information directly on the dashboard because, at that moment, I need to work and don’t have time for it. As a result, the primary function of informing users is usually missed because I think 90% of users will do the same. From your side, this was a really great move to attract people to new information in a non-intrusive way.

  3. John

    YESSSSSSS!!!!!!!!! Do it, WordPress!

  4. Emily

    Could’t agree more. It will look much much much better. The old way of notification is so annoying me.

  5. Glory Adore

    Very good idea but I want to ask who can help design my WordPress site to the best taste?

  6. Jei-Nhy

    I think this is a fabulous idea!

  7. Birgit

    Great idea! Love to be able to use the whole screen, instead of one filled with notices of plugins that reappear on every new load.

  8. Mitchell

    WordPress needs an admin setting to disable admin_notices from selected plugins and themes.

    Theme notices to install plugins, that I will never install, are most annoying.

    Best wishes,
    Mitchell

  9. Rami

    Actually, it’s a great idea!!!

  10. Lloyd

    Excellent, excellent idea :)

  11. Christopher Haring

    Notification center and management, excellent

    Thanks
    Chris

  12. Thomas

    I’m sick of messages piling up – a notification center would be awesome!

  13. damyang

    Very good!! Better late than never..

  14. Jagrav

    I’m all for it :)

  15. Rachel

    Sounds like a good solution. I’m new to wp & find the notices can be overwhelming.

  16. Jim Krenz

    Great idea. Code it up and submit it to the team. This is an open development system, isn’t it?

  17. Oscar Gonzalez

    So what is the notification system where we get WP.com/jetpack alerts. Is that not something that developers can tie into and just start using?

    It would be great to have ALL of those notifications in one long list (updates, plugins, themes, blog/site activity, etc).

    Whatever option is done, I hope if it’s built into core, that it will have an option to email us as well as making the notification show in the dashboard/bar/wherever.

  18. Candi

    Absolutely!

  19. Christophe Debruel

    We sure do need something like that. It’s a mess with all the admin notices.

  20. Swapnil Jha

    It would be a great idea.

  21. Robin

    Definitely. Should have been in there for a long time.

  22. Valentina

    Really good idea.I was thinking about it yesterday that why no one has made a good plugin to control Notications.

    Finally thanks to you

  23. Erick Lacayo

    A must! Let make some noise if it to happen.

  24. Tony Zeoli

    That would be a welcome addition, for sure. All these admin notices coming into the home admin screen and some staying with you throughout each page is certainly annoying and this is something WordPress should address as soon as they can roll it into an update. So many people are talking about it now, that it’s getting to a tipping point, for sure.

  25. Michael R.

    Cant wait for it!

  26. Peter Cralen

    Awesome idea

  27. Scott Bolinger

    Absolutely, I actually tweeted that Barry’s plugin should be in WP core a few months ago. The notification center plugin needs a lot of work (it doesn’t support all plugins, and doesn’t always work properly) but it is definitely needed.

    • Barry

      I agree. Pushed out an update today to catch more notifications. Need to think on how to work on dismissing notifications because WordPress plugins add them in code, without DB storage or a unique identifier per notification. The joy :)

  28. Miguel Angel LuisV.

    Good Idea.

  29. Chris

    No brainer – needed this for a long time.

  30. Jack Arturo

    Yes please!

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.