install_themes_upload

Definition:
function install_themes_upload($page = 1) {}

Parameters

  • $page

Source code

function install_themes_upload($page = 1) {

?>

<h4><?php _e('Install a theme in .zip format') ?></h4>

<p class="install-help"><?php _e('If you have a theme in a .zip format, you may install it by uploading it here.') ?></p>

<form method="post" enctype="multipart/form-data" action="<?php echo self_admin_url('update.php?action=upload-theme') ?>">

	<?php wp_nonce_field( 'theme-upload') ?>

	<input type="file" name="themezip" />

	<?php submit_button( __( 'Install Now' ), 'button', 'install-theme-submit', false ); ?>

</form>

	<?php

}

2061

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: