Support » Themes and Templates » TwentyTen – change "posted on" in ChildTheme functions.php

  • Resolved jeobrussels

    (@jeobrussels)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    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' ) ) :

    Thanks, this works perfectly well!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘TwentyTen – change "posted on" in ChildTheme functions.php’ is closed to new replies.