Title: Auto Post Download
Author: MicNeo
Published: <strong>Мартъи 1, 2014</strong>
Last modified: Июнь 19, 2017

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/auto-post-download.svg)

# Auto Post Download

 By [MicNeo](https://profiles.wordpress.org/micneo/)

[Download](https://downloads.wordpress.org/plugin/auto-post-download.1.4.4.zip)

 * [Details](https://os.wordpress.org/plugins/auto-post-download/#description)
 * [Reviews](https://os.wordpress.org/plugins/auto-post-download/#reviews)
 *  [Installation](https://os.wordpress.org/plugins/auto-post-download/#installation)
 * [Development](https://os.wordpress.org/plugins/auto-post-download/#developers)

 [Support](https://wordpress.org/support/plugin/auto-post-download/)

## Description

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(); ?>`

## Installation

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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Auto Post Download” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ MicNeo ](https://profiles.wordpress.org/micneo/)

[Translate “Auto Post Download” into your language.](https://translate.wordpress.org/projects/wp-plugins/auto-post-download)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/auto-post-download/),
check out the [SVN repository](https://plugins.svn.wordpress.org/auto-post-download/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/auto-post-download/)
by [RSS](https://plugins.trac.wordpress.org/log/auto-post-download/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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

## Meta

 *  Version **1.4.4**
 *  Last updated **9 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **4.8.28**
 *  Language
 * [English (US)](https://wordpress.org/plugins/auto-post-download/)
 * Tags
 * [attachment](https://os.wordpress.org/plugins/tags/attachment/)[auto](https://os.wordpress.org/plugins/tags/auto/)
   [download](https://os.wordpress.org/plugins/tags/download/)[post](https://os.wordpress.org/plugins/tags/post/)
 *  [Advanced View](https://os.wordpress.org/plugins/auto-post-download/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/auto-post-download/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/auto-post-download/reviews/)

## Contributors

 *   [ MicNeo ](https://profiles.wordpress.org/micneo/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/auto-post-download/)