The PHP script below can be added to the WordPress Theme functions.php file. It will rename the standard "posts" section to "stories". Replace 'stories'/'story' with whatever the section needs to be called.
Related posts
—
Upgrading an inherited WordPress site: years of outdated tech, without breaking it
Every developer eventually inherits a WordPress site that nobody has looked after properly for years. I recently took one over: an old theme, years-old page builders, more security plugins than…
—
From report-only to enforced: rolling out a Content Security Policy
In September I wrote a guide to implementing a Content Security Policy. This post is the practical follow-up: a step-by-step rollout, from the first audit to an enforced policy, that…
Continue reading "From report-only to enforced: rolling out a Content Security Policy"
—
Tech support: fixing a compromised WordPress site
Most WordPress compromises stay hidden for weeks. No defaced homepage, no ransom note. More on how to spot a compromised WordPress site Technical support for suspected WordPress hacks Any malicious…
Continue reading "Tech support: fixing a compromised WordPress site"
—
How to spot a compromised WordPress site before it's too late
Most WordPress compromises stay hidden for weeks. No defaced homepage, no ransom note. Technical support and fixing a compromised WordPress site Often there's no dramatic defacement, no ransom note, no…
Continue reading "How to spot a compromised WordPress site before it's too late"
—
Modern WordPress security: why management beats manual hardening
Discover why the latest WordPress updates and tools like Wordfence make active management more effective than old-school hardening techniques. A few years ago, I wrote about Hardening WordPress against hacking.…
Continue reading "Modern WordPress security: why management beats manual hardening "
—
Enhancing WordPress search: the best plugins and tools for 2026
Visitors come expecting to find what they need quickly; when search fails, bounce rates climb and conversions slip. The default WordPress search leaves much to be desired, which means you…
Continue reading "Enhancing WordPress search: the best plugins and tools for 2026"