Title: Display array within the_author_meta: author.php
Last modified: August 21, 2016

---

# Display array within the_author_meta: author.php

 *  [Amy B](https://wordpress.org/support/users/amyrbiddle/)
 * (@amyrbiddle)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/display-array-within-the_author_meta-authorphp/)
 * I have created some custom meta keys for users, using the User Meta Pro plugin,
   and have displayed the custom field “reading preferences” successfully in the
   author archives page using the following code within author.php:
 *     ```
       </div><!-- #author-avatar -->
       <div id="author-description">
       <b><font size = 5>Bio: </b></font size><?php the_author_meta( 'description' ); ?>
       <br><a href = "<?php the_author_meta( 'user_url' ); ?>">Visit <?php the_author_meta( 'display_name' ); ?>'s website</a>
       </div><br>
       <div id="author-description">
       <b><font size = 5>Literary Preferences: </b></font size>
       <?php the_author_meta('reading_preferences'); ?>
       ```
   
 * I have also created a checkbox field for preferred genres using User Meta Pro,
   but when I try to display it in the same way, all I get is the word “array”. 
   I can’t find information about how to display an array within the author archives
   using the_author_meta.
 * Any help would be appreciated!
 * -Amy

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

 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/display-array-within-the_author_meta-authorphp/#post-4343810)
 * Have you posted here, [http://user-meta.com/forums/forum/support/](http://user-meta.com/forums/forum/support/)
 *  Thread Starter [Amy B](https://wordpress.org/support/users/amyrbiddle/)
 * (@amyrbiddle)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/display-array-within-the_author_meta-authorphp/#post-4343815)
 * I was hoping it would be a simple issue of my own ignorance in how to display
   an array, not a User Meta issue. But I’ve posted in User Meta Pro forums as well.
   Thanks.
 * -Amy

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

The topic ‘Display array within the_author_meta: author.php’ is closed to new replies.

## Tags

 * [author.php](https://wordpress.org/support/topic-tag/author-php/)
 * [the_author_meta](https://wordpress.org/support/topic-tag/the_author_meta/)
 * [user meta pro](https://wordpress.org/support/topic-tag/user-meta-pro/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Amy B](https://wordpress.org/support/users/amyrbiddle/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/display-array-within-the_author_meta-authorphp/#post-4343815)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
