Title: Retrieving single options array and using it
Last modified: August 21, 2016

---

# Retrieving single options array and using it

 *  [olddocks](https://wordpress.org/support/users/olddocks/)
 * (@olddocks)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/retrieving-single-options-array-and-using-it/)
 * I am designing theme options page and storing it under
 * `register_setting( 'inspire-option-group', 'inspire-options' );`
 * and inspire-options contains all the theme variable such as logo, favicon, twitter
   link etc. As i understand i pull out of the array using get_options
 * `$settings = get_option('inspire-options');`
 * and then individual variables
 * `echo $settings['logo'];`
 * My question is how do i make this $settings array global and use throughout the
   theme. I tried using global $settings and it is not working.

The topic ‘Retrieving single options array and using it’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [olddocks](https://wordpress.org/support/users/olddocks/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/retrieving-single-options-array-and-using-it/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
