Wolf under stars

David Wolf

How to always and automatically redirect to the latest Bootstrap documentation (Chromium Extension)

Automatically redirect to the documentation of the latest Bootstrap version whenever you ended up on an outdated documentation page.

How you can check, if you have Ruby installed

Here is, how you can check, if you have the Ruby programming language installed on your machine. ruby -v If you have Ruby installed, this command will print…

How to fix `Prawn::Errors::CannotFit` during AsciiDoctor-PDF build

If you got a Prawn::Errors::CannotFit error when you try to generate a .pdf out of you .adoc using the asciidotor-pdf command? This could be related to images…

How a phpDocumentor commment is structured (DocBlock Sections)

PHP DocBlock are mainly built up by three different parts, which all together create one DocBlock: The Summary The Description The Tags The summary is a…

How to exclude content for a specific page (Hugo Templating)

With Hugo’s template language you can implement logical conditions into your .html files in your theme using the {{ if … }} … {{ end }} syntax to show or…

How to assign and apply a JSON object with CSS styles to an element in JavaScript

Say you have selected an element via JavaScript: const someElement = document.querySelector(".some-elements-class"); And you have an object of given CSS…

How to configure WordPress Contact Form 7 SendinBlue integration to update existing SendinBlue contacts on form submission

WordPress contact form 7 comes with a built-in integration for SendinBlue. Each form submission can post contact data to SendinBlue. If you tried that…

Bootstrap 5 styling for WordPress Paginations via `paginate_links`

WordPress ships the paginate_links() function, to generate paginations. In this post I will show you, how you can set the function up, to get an awesome looking…

Create a date duration pipe in Angular to generate ISO valid duration strings

The HTML <time>-element comes across with its datetime attribute. As a value we can provide a date, but also valid duration string according to ISO 8601.…

How to develop WordPress-Plugins with Composer Autoloading and PHP Object-Oriented-Programming (OOP)

Download and install Composer on your machine In your WordPress plugin directory, add a composer.json { "autoload": { "psr-4": {…