Title: Custom Post Type Attachment
Author: aviplugins.com
Published: <strong>24.02.2014</strong>
Last modified: 31.12.2024

---

Поиск плагинов

![](https://ps.w.org/custom-post-type-pdf-attachment/assets/banner-772x250.png?rev
=1421734)

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://ps.w.org/custom-post-type-pdf-attachment/assets/icon-256x256.png?rev
=2067420)

# Custom Post Type Attachment

 Автор: [aviplugins.com](https://profiles.wordpress.org/avimegladon/)

[Скачать](https://downloads.wordpress.org/plugin/custom-post-type-pdf-attachment.3.4.6.zip)

 * [Детали](https://ru.wordpress.org/plugins/custom-post-type-pdf-attachment/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/custom-post-type-pdf-attachment/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/custom-post-type-pdf-attachment/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/custom-post-type-pdf-attachment/#developers)

 [Поддержка](https://wordpress.org/support/plugin/custom-post-type-pdf-attachment/)

## Описание

 * This plugin will allow you to upload files to your post or pages or any other
   custom post types.
 * You can eather use shortcodes or functions to display attachments.
 * just install the plugin and update setting from `Settings-> Custom Post Type 
   Attachment`.
 * Upload files in your post/page edit page.
 * Display files in frontend using shortcodes or using custom functions.

#### Применение

 * Display all attachments with a single shortcode [pdf_all_attachments]
 * Display Single attachment [pdf_attachment file=»file_number» name=»optional file_name»]
 * Example: [pdf_attachment file=»1″ name=»PDF File 1″]
 * или
 * pdf_attachment_file(«file_number»,»optional file_name»);
 * Example: <?php echo pdf_attachment_file("1","PDF File 1"); ?>

#### Custom Post Type Attachment PRO

There is a PRO version of this plugin that supports unlimited files to upload with
multiple file types. You can get it [here](https://www.aviplugins.com/custom-post-type-attachment-pro/)
in **USD 1.50**

 * Attachment number can be Increased / Decreased from the post edit page. You can
   upload other type of files also. Supported files that can be uploaded are PDF,
   TXT, JPG, JPEG, BMP, GIF, PNG, DOC, DOCX, XLS, CSV, PPT, PPTX, ZIP.
 * Every file can be marked as Hidden. These files will be hidden from visitors 
   of the site. Only Logged In users will be able to download these files. For others
   a message will be displayed in place of the hidden files. This message can be
   updated from admin panel.
 * You can select the user types that you want to give Permission to be able download
   the attachment files. Only selected user types will have permission to download
   the attachments.
 * More Advanced File Download feature.
 * Users can be asked to enter basic details like Name, Email & Phone Number before
   they can download the Attachments.
 * Files Attachment option can be enabled in the WordPress default comments section
   as well.
 * Files can be embedded in the page content. Users can view the content of the 
   file before download.
 * Supported document files that can be embedded are Adobe Acrobat (PDF), Microsoft
   Word (DOC), Microsoft PowerPoint (PPT), Microsoft Excel (XLS)
    [Click here to find out in details](https://www.aviplugins.com/custom-post-type-attachment-pro/)

> Post your plugin related queries at [https://www.aviplugins.com/support.php](https://www.aviplugins.com/support.php)

## Скриншоты

[⌊Frontend view⌉⌊Frontend view⌉[

Frontend view

[⌊Settings page view⌉⌊Settings page view⌉[

Settings page view

[⌊Post edit page view⌉⌊Post edit page view⌉[

Post edit page view

[⌊Shortcode view⌉⌊Shortcode view⌉[

Shortcode view

[⌊Latest attachments widget⌉⌊Latest attachments widget⌉[

Latest attachments widget

[⌊Widget settings⌉⌊Widget settings⌉[

Widget settings

## Установка

 1. Upload `custom-pos-type-pdf-attachment.zip` to the `/wp-content/plugins/` directory.
 2. Активируйте плагин на странице «Плагины» в панели управления WordPress.
 3. Go to `Settings-> Custom Pdf Attachment`, and set some options. It’s really easy.
 4. Use shortcodes or functions to display uploaded files in frontend.

## Часто задаваемые вопросы

 1. Please email me at demoforafo.com. Post your queries here https://www.aviplugins.
    com/support.php

## Отзывы

![](https://secure.gravatar.com/avatar/a4fe0abaabf4e0673b8ad3a235e0f72d2182f92f276d0f44113f74a28cca47ac?
s=60&d=retro&r=g)

### 󠀁[Does exactly what I want](https://wordpress.org/support/topic/does-exactly-what-i-want-7/)󠁿

 [RobinKMullins](https://profiles.wordpress.org/robinkmullins/) 03.09.2016

Quick and easy. I use it every day to post local court information which comes to
me a pdf files. Sweet.

 [ Посмотреть все 3 отзыва ](https://wordpress.org/support/plugin/custom-post-type-pdf-attachment/reviews/)

## Участники и разработчики

«Custom Post Type Attachment» — проект с открытым исходным кодом. В развитие плагина
внесли свой вклад следующие участники:

Участники

 *   [ aviplugins.com ](https://profiles.wordpress.org/avimegladon/)

«Custom Post Type Attachment» переведён на 2 языка. Благодарим [переводчиков](https://translate.wordpress.org/projects/wp-plugins/custom-post-type-pdf-attachment/contributors)
за их работу.

[Перевести «Custom Post Type Attachment» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/custom-post-type-pdf-attachment)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/custom-post-type-pdf-attachment/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/custom-post-type-pdf-attachment/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/custom-post-type-pdf-attachment/)
по [RSS](https://plugins.trac.wordpress.org/log/custom-post-type-pdf-attachment/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 3.4.6

 * Bug fixes.

#### 3.4.5

 * Improvements.

#### 3.4.4

 * Bug fix after version 3.4.3 update.

#### 3.4.3

 * Now other type of files are also supported for uploading. File size can also 
   be displayed beside file names.

#### 3.4.2

 * Bug fixes and improvements.

#### 3.4.1

 * Bug fixes.

#### 3.4.0

 * Minor bug fixes.

#### 3.3.9

 * Compatibility added for older versions of the plugin. Please deactivate and reactivate
   the plugin once after update.

#### 3.3.8

 * Now files can be attached from the media library as well. This can be toggled
   from plugin settings if users don’t want the attachments to be in the media library.

#### 3.3.7

 * Now attachments can be viewed from the listing page in admin panel. Widget added
   to display latest attachments.

#### 3.3.6

 * Some design elements are updated.

#### 3.3.5

 * Plugin code structure updated. Now the plugin will work much faster.

#### 3.3.4

 * Plugin code updated.

#### 3.3.3

 * Bug fixed.

#### 3.3.2

 * PDF attachment functionality updated.

#### 3.3.1

 * Bug fixed.

#### 3.3.0

 * Plugin Dashboard look & feel updated.

#### 3.2.4

 * Plugin code updated.

#### 3.2.3

 * Plugin code updated.

#### 3.2.2

 * Bug fixes.

#### 3.2.1

 * Option to display all attachments with a single shortcode or function.

#### 3.2.0

 * Plugin is now multilingual.

#### 3.1.1

 * Code updated with some security modifications.

#### 3.1.0

 * plugin code updated.

#### 3.0.0

 * Code updated with some security modifications.

#### 2.2.1

 * news dashboard widget optimized.

#### 2.2.0

 * aviplugins.com news dashboard widget added.

#### 2.1.5

 * Notice message bug fixed.

#### 2.1.4

 * Notice message bug fixed.

#### 2.1.3

 * admin menu related bug fixed.

#### 2.1.2

 * bug fixed.

#### 2.0.2

 * Delete Attachment functionality added.

#### 2.0.1

 * Solved Pdf icon missing error.

#### 1.0.1

 * This is the first release.

## Мета

 *  Версия **3.4.6**
 *  Обновление: **2 года назад**
 *  Активных установок: **700+**
 *  Версия WordPress ** 2.0.2 или выше **
 *  Совместим вплоть до: **6.7.10**
 *  Языки
 * [English (US)](https://wordpress.org/plugins/custom-post-type-pdf-attachment/),
   [French (France)](https://fr.wordpress.org/plugins/custom-post-type-pdf-attachment/)
   и [Italian](https://it.wordpress.org/plugins/custom-post-type-pdf-attachment/).
 *  [Перевести на ваш язык](https://translate.wordpress.org/projects/wp-plugins/custom-post-type-pdf-attachment)
 * Метки:
 * [attachment](https://ru.wordpress.org/plugins/tags/attachment/)[download](https://ru.wordpress.org/plugins/tags/download/)
   [file](https://ru.wordpress.org/plugins/tags/file/)[file attachment](https://ru.wordpress.org/plugins/tags/file-attachment/)
   [upload](https://ru.wordpress.org/plugins/tags/upload/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/custom-post-type-pdf-attachment/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  3 5-звездный отзыв     ](https://wordpress.org/support/plugin/custom-post-type-pdf-attachment/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/custom-post-type-pdf-attachment/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/custom-post-type-pdf-attachment/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/custom-post-type-pdf-attachment/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/custom-post-type-pdf-attachment/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/custom-post-type-pdf-attachment/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/custom-post-type-pdf-attachment/reviews/)

## Участники

 *   [ aviplugins.com ](https://profiles.wordpress.org/avimegladon/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/custom-post-type-pdf-attachment/)

## Пожертвование

Хотите поддержать улучшение этого плагина?

 [ Пожертвовать на развитие плагина ](https://www.aviplugins.com/donate/)