Zum Inhalt springen Skip to navigation

Webrocker Blog

Archiv für "Wordpress" (Seite 2)

(Digital) Climate Strike - September 20th, 2019

Global Climate Strike 20-27 Sept

My site here will join the digital climate strike on this friday. For this I made a small WordPress plugin that will display a placeholder page with infos on the ClimateStrike actions for all requests but for a list of urls that can be configured (for privacy policy and legal info pages) and the admin…


WordPress filter for lazy loading src

Chris Coyier (@css) has shared a code snippet that will add loading="lazy" to every scr=" instance in WordPress's content. But this will replace every instance, not only in img or iframe tags, which can lead to some unwanted replacements. Here's my version for that filter: // in theme’s functions.php or a plugin function wbr_add_lazy_loading($content){ $content…


WordPress 5.2

WordPress Logo an die VW-Fabrik gephotoshopped

Eine neue fünfer WordPress-Version ist gestern erschienen, mit einigen Zutaten, die den Entwicklern und Admins von WordPress-befeuerten Seiten das Leben leichter machen sollen und man hat wohl die Zugänglichkeit des Backends weiter verbessert: Die Mindest-PHP-Version wurde auf 5.6 angehoben - ganz alte und/oder ungepflegte Webhostingumgebungen mit PHP 5.2 könnten da Probleme bekommen. Das Update bekommt…


WordPress 5.1.1 Security + Maintenance Release

Link to post WordPress 5.1.1 Security + Maintenance Release

Heute Nacht ist ein neues Update für WordPress 5 und ältere Versionen erschienen: Wie immer bei Security-Gedöns: Aktualisieren, los, jetzt.


WordPress 5.1 - Betty ist da

Colourful pins wih WordPress W logo

Following WordPress 5.0 — a major release which introduced the new block editor — 5.1 focuses on polish, in particular by improving the overall performance of the editor. In addition, this release paves the way for a better, faster, and more secure WordPress with some essential tools for site administrators and developers. wordpress.org Ich wartete hier in meiner Bloghütte…


Syndicate some Blogposts from WordPress to Kirby with the REST API - Revisited

Link to post Syndicate some Blogposts from WordPress to Kirby with the REST API - Revisited

One year ago I established a connection between some blog posts here to my portal site via the WordPress REST API, a cron job, and some php-scripts. This weekend I revisited the code, since there was one detail that kind of bugged me: The REST API treats "categories" as an OR condition; but for my…


WordPress 5.0.2 Update

WordPress Logo an die VW-Fabrik gephotoshopped

5.0.2 is a maintenance release that addresses 73 bugs. The primary focus of this release was performance improvements in the block editor: the cumulated performance gains make it 330% faster for a post with 200 blocks. Wie bereits vermutet, ist die neue WordPress 5.0 noch so wackelig, dass innerhalb von zwei Wochen nach Release bereits…


WordPress 5.0.1 Security Update

WordPress Logo an die VW-Fabrik gephotoshopped

This is a security release for all versions since WordPress 3.7. We strongly encourage you to update your sites immediately. wordpress.org If you are reluctant to update to the WP 5 release due to the new editor, find the updated versions of all older releases here (look for the Dec 13th releases): WordPress Releases.


State Of The Word - Matt Mullenweg @WordCamp US, Nashville

Link to post State Of The Word - Matt Mullenweg @WordCamp US, Nashville

youtube direkt link Is this talk the reason why WordPress 5.0 was released while its main new component, the Gutenberg editor, is regarded as not really production-ready by many? When a big company like Automattic decides to prioritize a deadline they pluck out of thin air over enabling people with impairments to use the editor…


WordPress 5.0 ist da

Colourful pins wih WordPress W logo

Seit gestern abend steht die neue, große WordPress Version zum Download bereit. Mit an Board ist das, was wohl eine Revolution im Bereich der Inhalts-Editoren werden soll: Der neue Editor "Gutenberg".


Webmention Semantic Linkbacks Facepile Display Hickup solved

Link to post Webmention Semantic Linkbacks Facepile Display Hickup solved

(or: a hurray for open source) Wow, what a headline! :-)) There was a tiny issue with the display of "webmention" reactions in my theme that annoyed me a little bit: On older posts, the summary of that post (for example in archive view or search results) would show in the meta-info something like "23…


WordPress Kommentare DSGVO konformer machen

Link to post WordPress Kommentare DSGVO konformer machen

Seit kurzem werden die IP-Adressen, die (m)eine WordPress-Installation standardmässig bei einem Kommentar abspeichert, vorher anonymisiert: /* --------------------------------------------------------------------- * IP Adressen anonymisieren in den Kommentaren * --------------------------------------------------------------------- */ function wbr_anonymize_commentip( $comment_author_ip ) { // ipv4: 123.234.111.222 => 123.234.xxx.xxx // ipv6: ? $out = preg_replace('/^(\d+\.\d+)\.\d+\.\d+$/i','$1.xxx.xxx',$comment_author_ip); return $out; } add_filter( 'pre_comment_user_ip', 'wbr_anonymize_commentip' );/* --------------------------------------------------------------------- * IP Adressen anonymisieren…