Closed debasiskoley closed 7 years ago
Please change the core function
function layers_get_the_author() { $author_fname = get_the_author_meta('first_name'); $author_lname = get_the_author_meta('last_name'); return sprintf( ( '%3$s' , 'cross' ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( ( 'View all posts by %s', 'cross' ), trim( "$author_fname $author_lname" ) ) ), //;get_the_author() esc_attr( trim( "$author_fname $author_lname" ) ) //get_the_author() ); } // layers_get_the_author
Hi there, We use the WordPress default so that users can control this from within WordPress or other plugins.
Please change the core function
function layers_get_the_author() { $author_fname = get_the_author_meta('first_name'); $author_lname = get_the_author_meta('last_name'); return sprintf( ( '%3$s' , 'cross' ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( ( 'View all posts by %s', 'cross' ), trim( "$author_fname $author_lname" ) ) ), //;get_the_author() esc_attr( trim( "$author_fname $author_lname" ) ) //get_the_author() ); } // layers_get_the_author