stripping text from title upon display?
I’m wondering if there’s a way to strip text out of the headline of a post when displaying, say, a list of posts in a given category. I have a category for my serial novel, and it has it’s own custom single.php page that will have a table of contents running down the right. Each post is called something like “The Hole: Part 70” but I don’t want “The Hole:” to display in that table of contents, just “Part 70”. Is there some way to strip that text out when doing the archive listing?
- The topic ‘stripping text from title upon display?’ is closed to new replies.