這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Auto Post Download

外掛說明

Auto Post Download plugin provides easy way to generating ZIP files with post content and post’s image. You can choose if you want to include both files in archive or only one of them (content or image).

With this plugin you will be able to provide URL for your users to download posts as a ZIP file. You need a press pack? This plugin will make it very easy.

Plugin automatically generates attachment for post while you’re publish it. It’s totally automatic, you just need to use shortcode (or php function) to print URL.

Attachments are manageable via WordPress Media Library. You can specify for which categories auto attachments should be created.

You can also define Custom Fields which will be included in generated attachment.

Generated content file can be in HTML format or just plain text. Feel free to choose your format from settings!

Usage

  • Just put [auto-post-download] wherever you want to display URL to post’s attachment.
  • You can also specify post_id – [auto-post-download postId=1]
  • You can combine shortcode with html, like: <a href="[auto-post-download]">Download presspack</a>
  • You can also use php function call: <?php echo apd_downloadUrl(); ?>

安裝方式

This section describes how to install the plugin and get it working.

Use the automatic plugin installer of your WordPress admin, or do it manually:

  1. Upload the auto-post-download directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. (Optionally) Select desire categories under the ‘Settings/Auto Post Download’ menu.
  4. (Optionally) Select desire Custom Fields under the ‘Settings/Auto Post Download’ menu.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Auto Post Download〉的開發相關工作。

參與者

將〈Auto Post Download〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.4.4

  • Bug fix: Overriting existing custom field fixed.

1.4.3

  • Bug fix: There was a error on some PHP versions when ZIP file doesn’t exist.
  • Fix: WordPress version updated.

1.4.2

  • Fix: Some typos.
  • Fix: WordPress version updated.

1.4.1

  • Fix: There was issue with updating post with custom fields. In that case, new values of custom fields wasn’t saved, it had to be saved twice. Now it works fine.

1.4

  • New feature: Now you can decide if you want to include custom field title in content of generated attachment. You can set it in settings of the plugin.
  • Fix: Improved format of generated files.

1.3.2

  • Fix: Fix for options page

1.3.1

  • Fix: Compability for older version of PHP

1.3

  • New feature: You can choose if you want to include both, content and post’s image, or only content or only image. You can change this option from settings menu.
  • Fix: “Warning: Illegal string offset ‘file’ in APD_Attatchment.php”. Plugin doesn’t force user to use image in posts.

1.2

  • New feature: Now plugin supports not only HTML format but also plain text. You can choose format from settings menu.

1.1

  • New feature: Now plugin supports fetching information from custom fields! Just select custom fields from plugin’s settings and content of those custom fields will be automaticly added to attachment.
  • Bug fix: Wrong check of post’s category is now fixed.

1.0

  • First release