Open external links in new tab

document.addEventListener(“DOMContentLoaded”, function() { var links = document.querySelectorAll(“a[href]”); links.forEach(function(link) { if (link.hostname !== window.location.hostname) { link.setAttribute(“target”, “_blank”); link.setAttribute(“rel”, “noopener noreferrer”); } }); });Continue reading

Short Breadcrumb Title

/* Short Breadcrumb Title / Kiri Vadivelu / 2026 */ .wp-block-breadcrumbs ol li:last-child { max-width: 175px; /* Set desired limit */ white-space: nowrap; /* Prevents line breaks */ overflow: hidden; /* Hides text exceeding width */ text-overflow: ellipsis; /* Adds…Continue reading

Extend Core CSS

/* Extend Core CSS / Kiri Vadivelu / 2026 */ /* TL;DR Inlining css is more reliable and consistent */ /* smooth scroll on demand */ @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } } /* Select text, edit…Continue reading