Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm using the lovely Imbalance theme from WPShower. I am able to make almost all the modifications I need through files and filters in the child theme I created. However, there is a typo that appears in multiple files:

<?php printf(__('<span>Filled under:</span> %s'), get_the_category_list(', ')); ?><br />

This line is in archive.php. attachement.php, archive.php, and single.php. Is there a way to change "Filled under" to something like "tags" without directly editing the parent theme files?

Thanks!

share|improve this question
    
The theme doesn't even use a text domain. Not so lovely … –  toscho May 8 '12 at 23:31
add comment

1 Answer

up vote 0 down vote accepted

You can override it, but you'll have to create Child-Theme versions of archive.php, attachment.php, and single.php.

Since it's a translation string, you might be able to do something hackish, like provide a en_US.MO file that translates "Filled under" as "Filed under" (or whatever you want). But that gets tricky - and This Theme appears to be _doing_it_wrong(), putting HTML tags inside of __(). So I'm not sure I'd even want to start messing with translation files.

The best solution would be to report the incorrect string as a bug, directly to the developer.

share|improve this answer
    
Thanks so much, I reported it as a bug already. I'll go ahead and add those 4 files to my child theme. Just seems unnecessarily bulky! –  Beatrice May 8 '12 at 20:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.