I AM LISTENING TO
|
WHAT I LIKE
  • English
  • German


BLOG FILTER



Since version 5.6PHP is verifying peer certificates and host names by default when using SSL/TLS. This is causing problems on some servers / websites, where the config has not been setup correctly. If you can not fix the setup yourself, make sure to talk to your server host to fix that issue.

For PHPMailer (Github) there is a workaround:

This should only be a workaround until your configuration has been fixed. You are suppressing certificate verification and compromising your security!

As WordPress is using PHPMailer as its main email library, this can be tweaked by using the phpmailer_init hook:

Add this to your themes functions.php.

BASIC PHPMAILER SETUP

And here is how phpmailer->smtpOptions should be used,  on a properly configured server:

SSL changes in PHP 5.6: http://php.net/manual/en/migration56.openssl.php
SSL context options in PHP: http://php.net/manual/en/context.ssl.php

Enjoy coding…

readmore

Chrome 45+ is glitching on  WordPress admin menus.

Github Plugin version

readmore

Online Course Academy. Video Learning platform for universities in the Netherlands.

 

  1. WordPress design / code tweaks
  2. WPLMS (Learning Management System) setup / tweaks / fixes
  3. WooCommerce tweaks / fixes / optimization
  4. CSS tweaks
  5. Responsive tweaks
  6. Visual Composer integration
  7. Video integration
  8. Maintenance & Upgrades
  9. Setup for split classes / instructors (Courses by Groups)
  10. Language setup
  11. Optimization

 

Social Island

readmore

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:

Like always, make sure that nothing breaks. If things break or are required by certain pages add an exception for that!

Check WordPress Condional Tags.

Sources:

  1. How to Load WooCommerce Scripts and Styles Conditionally to Improve Page Load Speed
  2. Only load WooCommerce scripts on shop pages and checkout + cart

REMOVE GENERATOR META TAG

Enjoy coding …

readmore

SINGLE WEBSITE SETUP

Simple add this to your wp-config.php

MULTISITE SETUP

Use the MU-Domain-Mapping plugin for that.

Enjoy coding …

readmore

With inline content being loaded via ajax, you are loosing a lot of interesting usage data. These can be tracked using Google Analytics Events or by sending a Pageview.

LETS SHOW IT ALL FIRST

The above allows to automate tracking by attaching simple classes and use HTML5 data attributes to assign category, action and label.  Direct tracking is also possible. Lets split it up :)

EVENT TRACKING INIT

This monitors links with the class .trackEVENT attached and fills the event data using HTML5 data attributes. All attributes have default values assigned.

A possible link would look like this:

The sendEvent function than sends this to Google Analytics.

PAGEVIEW TRACKING

Much simpler,  this just gets the element text and submits the click as a new Pageview. The label gets the pagename attached and the actual page url is constructed from the label. The sendPageview function than sends this to Google Analytics.

DIRECT USE

Really simple and effective way within a simple OnePager or a bigger web application. BTW I am using delegation to make sure that also links within AJAX content can be tracked.

Enjoy coding …

readmore

We often have some posts that we would like to promote and keep at the first page of the blog. When you are using pagination, the sticky posts will be added to the standard posts, making the post count per page uneven.

If you want to keep your posts per page count consistent, there is a way to do that.

PREPARE PAGINATION

SWITCH QUERY FOR FIRST PAGE

Enjoy coding …

readmore

They built screensiz.es to quickly find the screen specifications of the most popular devices and monitors currently on the market.

readmore

Finally identical inputs across different browsers and devices — both desktop and mobile.

iCheck is verified to work in Internet Explorer 6+, Firefox 2+, Opera 9+, Google Chrome and Safari browsers.

Mobile browsers (like Opera mini, Chrome mobile, Safari mobile, Android browser, Silk and others) are also supported. Tested on iOS (iPad, iPhone, iPod), Android, BlackBerry and Windows Phone devices.

iCheck

readmore

We are getting closer to Boostrap 4 and I really love what we are getting with the first alpha version.

  1. Improved grid system
  2. Opt-in flexbox support is here. Nice.
  3. Dropped wells, thumbnails, and panels for cards.
  4. Consolidated all our HTML resets into a new module, Reboot. Much cleaner.
  5. Dropped IE8 support and moved to rem and em units. Finally REM units and IE8 free. I know there will be still projects with IE8 requirements, but the amount of projects is getting less and less :)
  6. Improved auto-placement of tooltips and popovers. They are using Tether, have been using that for projects for some time now. GREAT!

Bootstrap Alpha 4 / Documentation

readmore