Maintaining a WordPress Plugin

It’s about 2 years that WP Mail Logging is available in the plugin repository. In the following I want to talk about my experience with making a WordPress plugin. Scaffolding I always wanted to learn more about WordPress development and WordPress Plugin Development in first place since I started my first Website with WordPress in 2007 or so and misusing… Read more →

Controlling Nav Menu Generation

You might want to tweak the output of your menu items in WordPress. You can use this to remove or change a link from a specific item.   To do so we can make use of the filter  walker_nav_menu_start_el  – it’s called for each traversed menu item when building the menu. This is actually done in the  nav-menu-template.php script in the class  Walker_Nav_Menu and… Read more →

Child Pages Shortcode

With Child Pages Shortcode you can fetch the children of a page and arrange them in a nice list or overview. There are several ways to make use of the plugin. First you can use them in the code via hooks and second you can use shortcodes and a kind of template (that’s what I want to go into in… Read more →

Generate Javadoc with UML Diagrams

It is very useful to have UML Diagrams integrated into your javadoc – they give you a neat visual overview of the contents of you sourcecode. I want to show you how  to integrate this into an automated build. I implemented this with an ant target and my IDE Netbeans. Add this to your build.xml in the root of your… Read more →

Don’t Stick to hta Applications

If you have the burden to work on hta applications you might get into conflict with incompatibilities. So am I. I wanted to migrate a hta application from 2012 with bootsrap 2 to bootstrap 3. Bootstrap 3 doesn’t support IE 7 any more and also the fix with Respond.js doesn’t work in local files. So what now? I found node… Read more →

Wörterbuch für Android

Wer in den Genuss einer gut funktionierenden Auto-Completion kommen möchte muss Android mit einem umfassenden Wörterbuch füttern. Das Standardwörterbuch Deutsch hat einige Schwachstellen: Es kennt nur allgemeine Wörter, keine Abwandlungen von ihnen und keine konjugierten Wortformen. Dies ist ziemlich nervig, wenn man bedenkt, dass wir das Jahr 2015 schreiben. Deshalb biete ich hier eine Wortliste mit ca. 10.000 Einträgen, die… Read more →

Study Helpers

If you are a student you might be interested in the following helpers that make your day easier. Time Google Calendar My fellow students an I use the google calendar to organize our modules. At the moment we do have all the same modules and so it is easy to organize us. We use a shared calendar:   Each student… Read more →

Revoke PGP key

Follow this tutorial if you want to revoke a pgp key. All you need for this is your private key and eventually the pass phrase to open it. At first you need to install pgp on your machine. I have installed GnuPG. Change to the install dir or add to PATH.

Next import your private key:

check if… Read more →

Find broken shortcodes

If you recently changed your theme and used shortcodes from it or disabled plugins you maybe want to find all leftovers of them because they are not translated any more. You will find things like [shortcode attribute=”bla”] all over website. Obviously you don’t want to review each post on your website to find them manually. So there comes a little… Read more →

sort functions – access class member

If you want to sort a class member with the functions uasort, uksort, usort (the u stands for user-defined comparison function) you have to take care of some things. bool uksort ( array &$array , callable $key_compare_func ) The function takes as first parameter the array you want to sort as reference. Thereby no copy is made to the function stack and any changes are directly made on… Read more →