一键安装WP模板和插件
更新日期:2008-6-8
OneClick是一个快速上传安装插件或者模板的WordPress插件。
用户使用此插件可以在WP后台控制面板中,上传zip格式的模板或者插件文件即可,而根本不需要再使用FTP工具上传。此插件会自动解压到相应的目录,然后便能直接使用了。
为了能直接从后台安装主题和模板,有以下要求:
“/wp-content/plugins/” 和 “/wp-content/themes/” 两个文件目录要有 PHP 可写权限。
- WordPress 2.3 或更新版本。
- 安装了CURL library或者php.ini 中已使用allow_url_fopen .这个大多数服务器都能符合其中一个。
- The /plugins directory must be writable by WordPress. The exact file permissions depend on the server configuration. Read more about file permissions. 666 or 755 may be sufficient, and 777 will always work, though this is not recommended due to security risks.
To be able to display the new link this plugin will hide the original update notification and display a slightly modified one. Here’s what happens when you click the “update automatically” link :
- If the plugin that needs to be updated is active, it is deactivated.
- The Plugin Updater retrieves the plugin’s page from WordPress.org and finds the download link.
- The new version is downloaded and extracted to the wp-content/plugins directory (this directory must be writable by the Updater plugin).
- If necessary, the updated plugin is re-activated.
Download
