Title: Pull value from Theme Customizer
Last modified: August 20, 2016

---

# Pull value from Theme Customizer

 *  [Dave Meier](https://wordpress.org/support/users/hiddendepth/)
 * (@hiddendepth)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/pull-value-from-theme-customizer/)
 * Have added in a dropdown pages setting within the theme customizer.
 *     ```
       $wp_customize->add_setting( 'usp_pagelink', array(
       		        'type' => 'option',
       		        'default'        => 10,
       		    ));
       		    $wp_customize->add_control('usp_pagelink', array(
       	        'label'      => ('Page links to...'),
       	        'section'    => 'usp_settings',
       	        'type'    => 'dropdown-pages',
       	        'settings'   => 'usp_pagelink',
       	      ));
       ```
   
 * How do I echo this value on the front end to create a link to the relevant page?

The topic ‘Pull value from Theme Customizer’ is closed to new replies.

## Tags

 * [theme customizer](https://wordpress.org/support/topic-tag/theme-customizer/)
 * [value](https://wordpress.org/support/topic-tag/value/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Dave Meier](https://wordpress.org/support/users/hiddendepth/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/pull-value-from-theme-customizer/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
