Category: Web Development

Featured image

WordPress – Showing cookie consent in comments

WordPress has a neat feature that allows visitors to save their details in the browser when commenting. This prevents repeated typing fatigue.

However, this option might not show up under the comments – even if the option is checked in the Admin settings page.

More →

WordPress – Fixing issues with comment form not moving

Sometimes, you might notice the comment form not moving underneath a comment as expected. I had a similar bug in one of my themes. I used the same functions and structures in two themes, but one had the comment form working properly, whereas in the other the comment form wasn’t moving. After spending hours trying to identify the reason and the bug, I found the solution to be ridiculously simple.

More →

jQuery – Fixing HTML anchor tags with fixed navbars

You may have noticed that your HTML # anchor tags no longer line up properly if you have a fixed navbar. It’s easily fixable with some simple jQuery.

More →

Featured image

SSH command cheatsheet

I find myself frequently using SSH to perform commands that otherwise take painfully long over regular FTP. I keep the following cheatsheet nearby to help me out.

More →

Featured image

Bootstrap – Dealing with ‘File to import not found or unreadable’

When importing Bootstrap files into your own sass, you might encounter this pesky error that might leave you scratching your head.

More →

Featured image

WordPress – Moving all scripts from header to footer

It is a recommended practice to link all your JavaScript files towards the bottom of your web page, just before the closing </body> tag.

To do this in WordPress, just insert the following code anywhere in your theme’s functions.php file.

More →

WordPress – Showing a reply link under every comment

This post will show you how to enable replies to all comments, irrespective of their depth.

More →

Featured image

PHP – Creating a one-page contact form

Today, I’ll show you how to build a contact form easily with PHP. Moreover, all user inputs and data processing will be done on the same php file. No need to create a separate mailer or responder file.

More →

Featured image

PHP – Auto zipper and downloader

Looking for a way to automatically zip certain folders and allow visitors to download them on demand?

More →

CSS – Fully customising HTML input fields

Make your HTML input fields look beautiful with some simple CSS tricks.

More →