Installing Xdebug for XAMPP with PHP 7.0

Posted Posted in PHP

Setup Download Xdebug for PHP 7: Copy file php_xdebug-2.4.0rc3-7.0-vc14.dll to: C:\xampp\php\ext Open file with notepad++: C:\xampp\php\php.ini Disbale output buffering: output_buffering = Off Scroll down […]

Must-Use Plugins tips

Posted Posted in Wordpress

Dropping a file into the mu-plugins directory means that code runs automatically, without having to log into the admin. This comes in handy when you […]

Radial image cover

Posted Posted in CSS

Your HTML markup <div class=”holder”> <img src=””/> <div class=”radial”></div> </div> Your CSS .holder { width: 500px; height: 500px; position: relative; } .radial { position: absolute; […]

Burger menu button

Posted Posted in CSS, Javascript

Let’s say you need a burger button to toggle your primary menu which as the class primary-menu The HTML markup <span class=”menu-toggle” data-toggle=”.primary-menu”> <span class=”menu-toggle-lines”></span> […]

Cross browser image grayscale filter

Posted Posted in CSS

img.grayscale { filter: url(“data:image/svg+xml;utf8,&lt;svg xmlns=\’\’&gt;&lt;filter id=\’grayscale\’&gt;&lt;feColorMatrix type=\’matrix\’ values=\’0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 […]