%PDF- %PDF-
Direktori : /var/www/html/qendrasteps/wp-content/themes/tm-heli/core/kirki/docs/docs/controls/ |
Current File : /var/www/html/qendrasteps/wp-content/themes/tm-heli/core/kirki/docs/docs/controls/upload.md |
--- layout: default title: The "upload" control slug: upload subtitle: Learn how to create controls using Kirki mainMaxWidth: 50rem; bodyClasses: control page returns: string heroButtons: - url: ../controls class: white button round border-only icon: fa fa-arrow-circle-o-left label: Back to Controls --- The `upload` control is identical to the `image` control, the only difference is that it allows uploading more file types and not only images. ### Usage ```php <?php $file_url = get_theme_mod( 'my_setting', '' ); printf( esc_attr__( 'URL of uploaded file: %s', 'textdomain' ), $file_url ); ?> ```