How to apply title case to category/tag names inside ?
-
WordPress version: 3.5.1
WordPress SEO version: 1.4.7On my site, most tag and category names are in all lowercase. (Only proper nouns have their words’ first letters capitalized.) However, all-lowercase tags and category names look a little sloppy inside <title></title>, so I’d like to do a little preg_replace’ing (like this: http://www.aaronlumsden.com/wordpress/title-case-function/) to tweak the capitalization within the <title> tag only.
Here’s where I’m dense though: where/how would I run that code in WP SEO? My best guess is around line 257 (when the function wpseo_get_terms is definied) of wpseo-functions.php, but I’m just behind the curve enough that I can’t wrap my head around what’s right to do.
Any thoughts?
- The topic ‘How to apply title case to category/tag names inside ?’ is closed to new replies.