BLOGhints, tips, tricks and news
Like everything with WordPress, there’s usually a plugin to help, but we don’t need one to import users as WP CLI can do this. Here’s the simple process, starting with exporting the user from an existing WP database. We’ll refer to the source database as source-db and the target database as target-db and I’ll assume […]
To make position sticky work in Safari make the sticky element a block and make a parent relative.
So, ACF, one of the best developer plugins of the last century, is now part of the Delicious Brains family. What does this mean for ACF, ACF Pro and the vast ACF client base? What are ACF and ACF Pro? Elliot Condon, the sole developer behind ACF to date, has made one of the most […]
Use Live Templates to create custom code snippets that you can quickly insert into your code by typing a custom abbreviation. This is extremely handy for commonly used code blocks, such as the echo statement in php or inserting a php block into html. In this example I’ll demonstrate how to create a php block […]
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.