Title: Adding title to stylesheet link
Last modified: August 20, 2016

---

# Adding title to stylesheet link

 *  [dewolfe001](https://wordpress.org/support/users/dewolfe001/)
 * (@dewolfe001)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/adding-title-to-stylesheet-link/)
 * This code from wp-includes/class.wp-styles.php:
    is the code used to turn an 
   attribute for the title into a title=”xxx” in the HTML code.
 * $title = isset($this->registered[$handle]->extra[‘title’]) ? “title='” . esc_attr(
   $this->registered[$handle]->extra[‘title’] ) . “‘” : ”;
 * How do I put the reference to populate that attribute from a theme?
 * I can’t find documentation on this, or anything clear about how ->registered 
   or ->extra get controlled by a reference in a theme.
 * Any help or pointers would be appreciated.
 * – Mike

The topic ‘Adding title to stylesheet link’ is closed to new replies.

## Tags

 * [Stylesheet](https://wordpress.org/support/topic-tag/stylesheet/)
 * [Themes](https://wordpress.org/support/topic-tag/themes/)
 * [title](https://wordpress.org/support/topic-tag/title/)

 * 0 replies
 * 1 participant
 * Last reply from: [dewolfe001](https://wordpress.org/support/users/dewolfe001/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/adding-title-to-stylesheet-link/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
