OK perfetct now it works!
Another question on functions.php. The second function of that code can be omitted? The code is:
if (!function_exists( 'twentyeleven_posted_on' ) ) :
/**
* Create our own twentyeleven_posted_on to override parent function in our child theme
*/
function twentyeleven_posted_on() {
printf( __('<span class="by-author"> <span class="sep">Posted by </span> <span class="author vcard"><a href="%1$s" title="%2$s" rel="author">%3$s</a></span></span>', 'twentyeleven' ),
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ),
get_the_author()
);
}
endif;
If I omit
twentyeleven_posted_on
functions, the child theme inherits the posted_on properties of Twenty Eleven. Can I omit this portion of code without any problem?
thanks