Blog Archives

[Solved] Fatal error: Call to undefined function boolval()

boolval() is a PHP function that was introduced in PHP 5.5. If you try to use it on a server that runs PHP 5.4 and lower, you will get an error like this: Fatal error: Call to undefined function boolval()

Posted in WordPress Tagged with: ,

Embed YouTube Videos On Bootstrap 4 Popup Modals With AutoPlay

Bootstrap 4 does not natively support embedding videos on its modal windows. Here is how to embed YouTube videos on modal popup windows.

Posted in WordPress Tagged with: , , ,

Escaping Text With Links In WordPress – The Right Way

Escaping a text with links can be replaced if escaped with __() during localization. This not ideal since the person writing the localizing file could replace links with their own. The proper way to do this is explained with an

Posted in WordPress Tagged with: , ,

Website Redesign With Focus On Responsiveness

I recently published the load time optimization report for a client where I achieved a load time reduction by 45%. I also worked on re-designing their WordPress website. Their in-house design team sent me the new design and I coded

Posted in WordPress Lab Tagged with: , , , ,

Makkah Mosque – WordPress Rebuild With Security In Mind

MakkahMosque.co.uk is a mosque in Leeds, UK. While working on contract for Emvigo Technologies, I rebuilt their initial website. The in-house team at Emvigo designed the new website and I coded it using WordPress as a CMS. Since the old

Posted in WordPress Lab Tagged with: , , , ,