WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jeobrussels
    Member
    Posted 4 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. alchymyth
    Forum Moderator
    Posted 4 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
    Member
    Posted 4 years ago #

    Thanks, this works perfectly well!

Topic Closed

This topic has been closed to new replies.

About this Topic