brabantia
Member
Posted 4 months ago #
Hi
I've spend the best part of an hour to find an answer but have to resort to the forum:
In which (php-) file do I edit the text of the metadata under each post?
I only need to change the words, no functions or styling. I'm sure I miss something really obvious
(looked in single.php, functions.php, content.php)
Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes.
brabantia
Member
Posted 4 months ago #
I'm working with a 'child'. But always good to be warned. But now you mention it, do I have to copy modified php-files in the child-folder too? (seems logical)
Yes. all custom files (php & css) should be in your child theme. The unmodified originals stay in the parent theme.
brabantia
Member
Posted 4 months ago #
(that's quick!) okay, will fix that.
meanwhile, you happen to know where I can change the text of the metadata of a post?
You would need a custom copy of the twentyeleven_posted_on() function in your child theme's functions.php file.
brabantia
Member
Posted 4 months ago #
Thank you so much!
Found it and fixed it (I think I must've had something in my eye ...;-)
Sometimes we all need a fresh pair of eyes. Glad I was able to help :-)
brabantia
Member
Posted 4 months ago #