Title: Author meta data
Last modified: August 18, 2016

---

# Author meta data

 *  Resolved [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/author-meta-data/)
 * Does anyone know how to override the default usermeta data that is used when 
   displaying a public side of a blog.
 * For example so I can have the default admin then a second administration account,
   but the second account is used when a PHP call like `<?php the_author_firstname();?
   >` is triggered. So instead of the blog looking for all it’s information in the
   ID 1 account it looks in ID 2 by default.
 * Does this make any sense?
 * There will be a main user of the blog, but also an invisible super admin.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/author-meta-data/#post-601724)
 *     ```
       <?php
       if(isset($_GET['author_name'])) :
       $curauth = get_userdatabylogin($author_name);
       else :
       $curauth = get_userdata(intval($author));
       endif;
       ?>
       ```
   
 * Does anyone know how to manually set the author using the above code?
 *  Thread Starter [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/author-meta-data/#post-601725)
 * OK there’s this for getting something like an email address and so on.
 *     ```
       <?php $curauth = get_userdata(intval(2));
       echo $curauth->user_email;
       ?>
       ```
   
 * Doe anyone know how to call yim and aim from the profile?
 *  Thread Starter [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/author-meta-data/#post-601770)
 * Resolved…
 * [http://codex.wordpress.org/Author_Templates](http://codex.wordpress.org/Author_Templates)
 * I was using old $curauth calls

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Author meta data’ is closed to new replies.

 * 3 replies
 * 1 participant
 * Last reply from: [theApe](https://wordpress.org/support/users/theape/)
 * Last activity: [18 years, 9 months ago](https://wordpress.org/support/topic/author-meta-data/#post-601770)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
