There are two ways in WordPress to provide context for translatable text (”strings”): the _x()
function (along with its related functions), and the /*translators:*/
comment. Their use is described in the Plugin Handbook, but here’s a quick definition of their key differences.
Tag: #WordPress
Automattic owning up
So this happened: yours truly went on LinkedIn to get the NYT piece fixed where an author had once again referenced WordPress.com as simply ‘WordPress’, thus cementing the fake news that ‘Automattic owns WordPress’ into the consciousness of countless readers.
Minimal Admin Menu Plugin
Nachdem ich zeitweilig durchaus wilde Ideen für das minimalistische WordPress Admin Menu und seine Zukunft hatte, habe ich das Plugin nun einfach in ein öffentliches GitHub-Repo gestellt.
Das geschlossene Repo mit all meinen anderen #Projekt26– Experimenten bleibt vorerst Leuten mit Registrierung vorbehalten, mit allem was drin ist.
Aber das Admin Menu Plugin findet ihr ab sofort hier:
👉 casparhubinger.github.io/simplified-admin-menu
Viel Spaß damit!
Allen Teilnehmerinnen und Teilnehmern der geschlossenen Alpha/Beta danke ich nochmals, dass ihr bei meinem Experiment mit Blog-Registrierung für Repo-Zugang mitgemacht habt. Für mich war es nicht nur eine Spielerei, sondern hat mich auch motiviert, codemäßig am Ball zu bleiben. Nicht, dass ihr das erwartet hättet, aber trotzdem. 😘
Ideas for admin notices
Admin notices in WordPress have been what they are today for… how many years? If I recall correctly, the current types of notices were introduced somewhere during the 3.x release cycle, although their legacy versions (anyone remember .update-nag
?) have been around for much longer.
Le Menü encore
Im meinem ersten Beitrag zu einer mehr oder weniger radikalen Vereinfachung des Admin-Menüs in WordPress ging es um die Hintergründe der Idee an sich; hier folgt nun die Praxis.