BLOG

hints, tips, tricks and news

Inlining CSS – the Good, the Bad and the Ugly

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 […]

If a marketing website were a salesperson

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 […]

Remove MetaBoxes form Specific Pages

Here is a very simple and robust way to remove the meta boxes from specific pages. It will remove the specified meta boxes from any page slugs in the array of slugs. Code to Remove Metaboxes from Specific Pages add_action(‘do_meta_boxes’, function() { $post_id = $_GET[‘post’] ?? ($_POST ?? false); global $edit_post_id; // just call it […]

Cross-browser support for hiding scrollbars, including FireFox

Cross-browser support for scrollbar styling and visibility is a challenge. It’s as simple as that. This article provides a solution that addresses the issue of hiding the scrollbars, using scrollbar-width, ::-webkit-scrollbar and -ms-overflow-style. What are Scrollbars? Scrollbars are bars that appear down the right-hand side and across the bottom of the browser (or an element […]

Little wins for webpage performance.

Being a developer I’m often looking for little ways to improve website performance, such as how fast a website loads and the user’s browsing experience. There’s a little known trick that helps with the latter, simply by not inheriting the overheads of pages you click through to. What you probably didn’t know about opening links […]

Don’t tell people your Google position

Google search engine’s not bad at delivering pretty darn relevant results. For this reason I strongly suggest you do NOT tell others what they’ll get when they carry out a Google search. Let me give a bit of context to this with a simple back story. A speaker informing the audience of their Google position …it’s position […]