Looking for a reliable partner to bring your project to the next level? Whether it’s development, design, security, or ongoing support—I’d love to chat and see how I can help.
Some time ago I said: “My perfect framework, is a set of solid singular solutions that have proven themselves over the years. Working solo or together in harmony”. Here is a list of some of my core components, that I use in combination or standalone. CORE LAYOUT TEMPLATING OBSERVABLES ROUTER STORAGE DEPENDENCY MANAGER This is basically the […]
I am currently working on a WPLMS enhancement for a customer, that allows to simplify the payout of instructor commissions. The whole system runs on the MyCred Points System and students pay for courses with Points. The problem is how to easily payout the instructor commissions via PayPal. There is currently no addon for MyCred available that does that […]
WooCommerce provides great functionality, but loads a lot of resources even if not needed. If a site loads longer than 5-7 seconds, potential customers already loose interest :) UNLOAD ALL THAT IS NOT NEEDED Add this to your functions.php: add_action( ‘wp_enqueue_scripts’, ‘cleanup_woocommerce_includes’, 99 ); function cleanup_woocommerce_includes(){ //check that woo exists if ( function_exists( ‘is_woocommerce’ ) ) […]
WPLMS is a Learning Management System for WordPress. Translation files in WPLMS are located in These language files will be overwritten with new files on every update, destroying any custom translation changes. THE THEME Move your theme into a child theme and translate your theme there (/wp-content/themes/your-child-theme/languages/). Make sure that language files are loaded from your child theme. Add the following […]
relative sizes, so that fonts and elements resize accordingly. CURRENT RELATIVE UNITS CALCULATION If not set differently, 1 em equals 16 Pixel in most browsers, which gives us a calculation basis. Preset value = 16PX = 100% or 1EM or 1 REM So 1/16 = 0,0625 is our calculation factor. PX EM 1 = 0,0625 12 […]
The files author-course.php and author.php can not be overwritten in a WPLMS child theme directly. The only way is to override the filter in the child theme functions.php: “WPLMS is a Learning Management System for WordPress. It is an e-learning WordPress theme for course management, instructor and student management using which you can create and sell your courses online. “
When projects are getting bigger, its always nice to split things up and prepare parts of your code for general reuse. PHP Traits (PHP 5.4+) are a nice way to do this. Adding multiple Traits or classes, requires you to make sure all are being included. Here is a nice way to register both with the __autoload function […]
Single inheritance has often been the limitation for PHP. This means that a class can only inherit from one other class. Often classes share the same methods and it would be beneficial to allow reuse and prevent duplication. In PHP 5.4 a new feature was added, known as Traits. A Trait is like a Mixin, allowing […]
Just a couple of links that deal with the usage or testing of structured data. Structured data is not yet relevant for content rankings, but that might change in the future (Hangout). “Structured data markup” is a standard way to annotate your content so machines can understand and categorize it. Proper usage elevates the way data is displayed on Google Search, […]
The custom maintenance mode message in WordPress, during upgrades and installs, is far from beautiful :) Time to change that! You can do your own page by adding a pure PHP maintenance.php into your /wp-content folder. Now go and build a nice page ! Just remember that during maintenance no WordPress functionality is available! Enjoy coding …
PORTALZINE® NMN
Alexander Gräf
Stettiner Str. Nord 20
DE-49624 Löningen