CHECKING STATUS
I AM LISTENING TO
|

BLOG.

NEWS FROM THE DEVELOPER CORNER
Let’s Talk!

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.

Get in touch,
and let’s create something amazing together!

“Schema.org is a collaborative, community activity with a mission to create, maintain, and promote schemas for structured data on the Internet, on web pages, in email messages, and beyond.” This shared vocabulary from Google, Bing and Yahoo helps to understand your content! This shows how to associate your logo with your organization. BEFORE <a href=”http://www.yoursite.com/”> <img […]

add_action( ‘unload_textdomain’, ‘my_unload_textdomain’ ); function my_unload_textdomain( $domain ) { switch($domain){ case “remove_textdomain”: unload_textdomain( ‘remove_textdomain’ ); load_plugin_textdomain( ‘remove_textdomain’, false, $your_location.’/languages/’ ); break } } Sometimes you might like to store all language files in your own central location, so that translators have one easy place to access all language files. Put the above into the functions.php and add […]

When building plugins or addons, sometimes we need to save custom files within WordPress. These can be custom JavaScript or CSS files that a user edited and are loaded to override core functionality. In most cases inline styles and scripts are an option, but not always the most elegant way. Everyone has to decide that for themselves. (wp_add_inline_style) Not talking about performance […]

PHP if( !isset($_SERVER[‘PHP_AUTH_USER’]) ) { if (isset($_SERVER[‘HTTP_AUTHORIZATION’]) && (strlen($_SERVER[‘HTTP_AUTHORIZATION’]) > 0)){ list($_SERVER[‘PHP_AUTH_USER’], $_SERVER[‘PHP_AUTH_PW’]) = explode(‘:’, base64_decode(substr($_SERVER[‘HTTP_AUTHORIZATION’], 6))); if( strlen($_SERVER[‘PHP_AUTH_USER’]) == 0 || strlen($_SERVER[‘PHP_AUTH_PW’]) == 0 ) { unset($_SERVER[‘PHP_AUTH_USER’]); unset($_SERVER[‘PHP_AUTH_PW’]); } } } .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ app.php [QSA,L] </IfModule>

CodePress Admin Columns allows you to manage and organize columns, for posts, users, comments and media lists in the WordPress admin panel. This little tweak allows you to add sorting to your columns. Add and adjust depending on the columns you have setup. Enjoy coding …

In the past 2 years, the e-Learning market has been exploding. Online Learning Management Systems (LMS) have become very popular, to build e-learning platforms. They not only offer text based content, quizzes, assignment management, course evaluation, social features, but also allow the integration of video, audio and other linked content.  Many support SCORM (Sharable Content Object Reference Model), […]

easily build out your own REST API or use the long available HTTP REST API 1.0+ for WordPress. But with the new HTTP REST API 2.0+ its getting really easy to build out your own REST API Namespace and assign routes for all your JSON needs. The new REST API will make its appearance in WordPress 4.4, but […]

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’ ) ) […]

Our Internet TV startup closes its doors. Ran from 2008 – 2015 . Full SmartTV / HBBTV integration for almost every major platform.2010 – 2013 broadcast over satellite, via TecTime TV.

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 …

In a current project I am using pages as templates, to load content into specific containers on the website. The website will be using up to 15 different languages. The main language setup is done through WPML, which creates linked content per language. This helps, as some languages will fail terribly when translating them through […]

When launching a Google Adwords campaign, research is the first and most crucial step. Proper research ensures that your budget is used efficiently and that your ads reach the right audience. Below are the three essential research areas to focus on before setting up your campaign. Keyword Research The heart of any Adwords campaign lies […]