[resolved] TwentyTen - change "posted on" in ChildTheme functions.php (3 posts)

  1. jeobrussels
    Posted 6 years ago #

    Newbie question:
    How do I integrate a change to "published by" instead of "posted on ... by" in the child theme's functions.php file?
    Which hook do I need to remove (and how?) and how do I attach the modified function?

    Any concrete help is much appreciated as fiddling 'round with examples didn't work out for me. Thank you.

  2. Michael
    Forum Moderator
    Posted 6 years ago #

    in your child theme's functions.php, add the same function twentyten_posted_in() or twentyten_posted_on() and modifiy it to your needs.

    the original function in the mother theme will only be used if there is none defined in the child theme:
    remember seeing this code in the mother theme ?
    if ( ! function_exists( 'twentyten_posted_in' ) ) :

  3. jeobrussels
    Posted 6 years ago #

    Thanks, this works perfectly well!

Topic Closed

This topic has been closed to new replies.

About this Topic