WordPress.org

Ready to get started?Download WordPress

Forums

Best way to change a string in the content-status.php? (3 posts)

  1. EnmnM
    Member
    Posted 1 year ago #

    I made a child of TwentyEleven that I am modifying locally (so I can't post the page for you to see.) Apparently, all "status" posts are formatted such that the post shows the administrative avatar with the word "STATUS" above it.

    I want to change the word "status." I found the code location--line 16 of the content-status.php file. Since I'd like to made modifications to my child theme, how can I alter this line within MY functions.php file?

  2. bythegram
    Member
    Posted 1 year ago #

    I believe what you'd want to do instead of via your functions.php file is make a copy of content-status.php inside your child theme directory and simply edit that file itself. This will override the parent theme's version of the file.

  3. EnmnM
    Member
    Posted 1 year ago #

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags