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

.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 the “…” dots */ display: inline-block; }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

Add Hash Tag

a[class^=”tag-cloud-link”]::before { content: ‘#’; color: blue; // optionally add theme color font-weight: bold; // optionally make thicker }Continue reading