Support » Fixing WordPress » 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.