Title: Update author template variable
Last modified: August 20, 2016

---

# Update author template variable

 *  [jackmichael](https://wordpress.org/support/users/jackmichael/)
 * (@jackmichael)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/update-author-template-variable/)
 * Hi everyone,
    I’m using Author Template to display information about the current
   author. This is mainly useful when viewing static information like first name
   last name etc.. but what if I’ve created new custom field/variable and I want
   this variable to be automatically updated in real time when the author page is
   accessed?
 * For example let’s say I’ve created variable called views, how can I make $curauth-
   >views to be updated each time this specific author page is accessed (I’m not
   talking about the function how can I track profile views I’m asking about the
   process of updating variable)

The topic ‘Update author template variable’ is closed to new replies.

## Tags

 * [author](https://wordpress.org/support/topic-tag/author/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [variables](https://wordpress.org/support/topic-tag/variables/)

 * 0 replies
 * 1 participant
 * Last reply from: [jackmichael](https://wordpress.org/support/users/jackmichael/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/update-author-template-variable/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
