The "upload" control

Learn how to create controls using Kirki

Back to Controls


Can't find what you're looking for? Check the github issues or edit this page to add what's missing.

The upload control is identical to the image control, the only difference is that it allows uploading more file types and not only images.


$file_url = get_theme_mod( 'my_setting', '' );
printf( esc_html__( 'URL of uploaded file: %s', 'kirki' ), $file_url );
Edit this page