Forums

[resolved] twentyeleven change words in post meta data (9 posts)

  1. 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)

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    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.

  3. 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)

  4. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    Yes. all custom files (php & css) should be in your child theme. The unmodified originals stay in the parent theme.

  5. 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?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    You would need a custom copy of the twentyeleven_posted_on() function in your child theme's functions.php file.

  7. 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 ...;-)

  8. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    Sometimes we all need a fresh pair of eyes. Glad I was able to help :-)

  9. brabantia
    Member
    Posted 4 months ago #

    fab help, thx a lot!

Reply

You must log in to post.

About this Topic