BLOGhints, tips, tricks and news
Creating horizontal scrolling of multiple rows with display: grid is easy. CSS grid provides powerful layout options to help achieve all sorts of page layouts.
WebP is the next generation image file type. WebP images are comparatively smaller file sizes. See how you can use WebP on your website.
Sometimes you want to programmatically move a WordPress meta box to a more ideal position on the editor screen. Here’s my way, with code.
WordPress orders its comments by oldest or newest first. So how do you go about ordering nested comments by the age of respective replies?
Have you needed to apply styling to only touch devices, or only non-touch devices? Well, great news, the hover media query can ease your woes.
Pages that load under one second get more visitors. With every passing second waiting visitors lose interest and leave before ever seeing your content.
Many plugins (and themes) inject HTML comments into the page’s source code that aren’t really needed in your a live site. Here’s how to remove them.
Recently, I’ve had a couple of projects that require thumbnails for video posts. There are plugins out there to do this, but I wanted a simple, lightweight way. Good news is, this can be achieved very easily by making use of WordPress’s WP_Embed class. /** * Maybe get thumbnail from embed * * @param string […]
I’m a sucker for performance gains to the point that I’m convinced I’m actually losing time overthinking it – 🤔 A good example is CSS delivery and it’s always interesting to get others’ opinions on how important they consider styling performance to be and how they measure it. Inlining – good/bad/ugly? Good I see genuine […]
Would you carry on employing a salesperson that was slow, ineffective and unkempt? If a website were a salesperson They would: be accountable for their sales performance care about their appearance try to help if you asked them for something they didn’t know call in sick if they were absent suggest alternative solutions to try […]