what theme are you using?
it is possibly using:
http://codex.ww.wp.xz.cn/Function_Reference/get_the_author_meta
you could create an excerpt using substr()
for a page with (all) authors and their info, try to create a page template http://codex.ww.wp.xz.cn/Pages#Page_Templates with get_users() http://codex.ww.wp.xz.cn/Function_Reference/get_users
Thread Starter
NWTD
(@nwtechie)
Sorry, forgot to mention that I’m using the TwentyEleven theme.
Thanks for that info!
I’m not too familiar with PHP, so forgive my ignorance. To get an excerpt, I would assume that on the single post page, I would change the author meta:
<?php the_author_meta( 'description' ); ?>
to something like:
<?php echo substr('$description', 0, 140); ?>
?
Assuming I just wanted the first 140 characters on the author’s bio?
Thanks!
Actually, you can create a custom author.php file; here is an example.
Thread Starter
NWTD
(@nwtechie)
That works and I think a custom author page will be fairly simple. I’m just stuck on creating an excerpt for the author’s bios.
Found a solution here!
<p>
<?php
//Con esto imprimimos los primeros 140 caracteres (a lo twitter) de la descripción
echo substr( get_the_author_meta('user_description') , 0 , 140 );
?>
</p>