這個外掛並未在最新的 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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“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