layers-wp / layerswp

Layers WordPress theme by Obox
http://www.layerswp.com
Other
23 stars 10 forks source link

Please replace the author name with author first name and last name #385

Closed debasiskoley closed 7 years ago

debasiskoley commented 8 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

vailjoy commented 7 years ago

Hi there, We use the WordPress default so that users can control this from within WordPress or other plugins.