Blog Archives

Make A Div Stick To Bottom Of Parent Div

Here is the HTML Markup <div class="parent">      <div class="child">     <?php echo "Hello"; ?>   </div>    </div> And the CSS .parent {   position: relative; }    .child {   position: absolute;   bottom: 0px; }

Posted in WordPress Tagged with: ,

[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: , , , ,
Email Stamp

Free Newsletter

Get my newest blog posts and insider tips. No more than a few emails a year.

Just enter your email address below and click Sign Up Now

Please enter all required fields
Correct invalid entries

You have Successfully Subscribed!