Описание
Upload PDF files and embed them directly into your site’s posts and pages. It works as simple as adding images! Your PDF files will be automatically sized to their natural size and shape. You can also specify a width and the correct height will be calculated automatically. Our PDF Embedder plugin is fully responsive, so the embedded PDF will also look perfect, on any device. Additionally, the pdf embedder will automatically resize whenever the browser dimensions change.
The plugin has a unique method for embedding PDF files, using Javascript only, and not iframes or third-party services. This offers immense flexibility over the appearance of your document.
The PDF viewer has Next and Previous buttons to navigate the document, and zoom buttons if some areas of a PDF file are too small for your screen.
Your PDF files are embedded within your existing WordPress pages so we have full control over appearance, and all Javascript and other files are served by your own server (not by Google or any other third-party who may not be able to guarantee their own reliability). This means your PDF files will load fast, without any speed penalty.
Other PDF embedder plugins insert the PDF into an ‘iframe’ which means they do not get the flexibility over sizing. Ours does not and that is a incredible benefit to the overall viewing experience across all devices.
In the free plugin, there is no button for users to download the PDF, but download options are available in the Premium versions along with other awesome features.
Another Premium feature are Hyperlinks in your PDF being clickable. Links in the free plugin cannot be clicked.
Применение
-
Once installed and Activated, click Add Media from any page or post, just like adding an image, but drag and drop a PDF file instead.
-
When you insert into your post, it will appear in the editor as a ‘shortcode’ as follows:
-
[pdf-embedder url=’https://mysite.com/wp-content/uploads/2015/01/Plan-Summary.pdf’]
-
You can change the default appearance — e.g. width, and toolbar position/appearance through Settings -> PDF Embedder.
To override your site-wide defaults on an individual embed, see the Plugin Instructions for information about sizing options plus other ways to customize the shortcodes.
Премиум возможности
Features available in the PDF Embedder Premium versions:
- Кнопка загрузки в панели навигации
- Удобное пролистывание страниц документа
- Гиперссылки полностью работают
- Полноэкранный режим
- Прямо указать номер страницы для перехода
- Отслеживание количества скачиваний и просмотров
- Оптимизировано для мобильных устройств
- Защищённая публикация — сложно скачать исходный документ PDF
- Removes wp-pdf.com branding
Подробнее на wp-pdf.comнашем сайте!
Mobile-friendly embedding using PDF Embedder Premium
The free version will work on most mobile browsers, but cannot position the document entirely within the screen.
Our PDF Embedder Premium plugin solves this problem with an intelligent ‘full screen’ mode.
When the document is smaller than a certain width, the document displays only as a ‘thumbnail’ with a large ‘View in Full Screen’ button for the user to click when they want to study your document.
This opens up the document so it has the full focus of the mobile browser, and the user can move about the document without hitting other parts of the web page by mistake. Viewers can then Click Exit to return to the regular page.
The user can also swipe continuously between all pages of the PDF which is more natural than clicking the navigation buttons to navigate.
See our site wp-pdf.com for more details and purchase options.
Protect your PDFs with our secure premium pdf embedder version
Наш плагин PDF Embedder Premium Secure предоставляет такой же простой и в то же время удобный просмотр PDF посетителям вашего сайта, но с дополнительной защитой, которая усложняет пользователям возможность скачать или распечатать ваш документ PDF.
This means that your PDF is unlikely to be shared outside your site where you have no control over who views, prints, or shares it.
Возможность добавить имя пользователя или адрес электронной почты поверх документа, отбивая у пользователей охоту распространять его скриншоты.
See our site wp-pdf.com for more details and purchase options.
Миниатюры PDF
Плагин PDF Thumbnails автоматически создаёт изображения предпросмотра для всех документов PDF в библиотеке файлов для использования по вашему усмотрению.
You can use them as featured images in posts containing an embedded version of the PDF, or as a visual clickable link to download the PDF directly.
It also displays the thumbnail as the ‘icon’ for the PDF in the Media Library, making it easy for authors to locate the PDFs they need to insert in a post.
Более подробную информацию и варианты приобретения смотрите на нашем сайте wp-pdf.com/thumbnails/.
Теперь плагин может быть переведён на другие языки!
поделитесь своими переводами.
- Persian translation by Mostafa Safarian i of سئو
- Перевод на французский язык выполнен Thierry Gaillou из JDFitForme
- Spanish translation by Armando Landois of LANDOIS Diseño
С благодарностью к команде Mozilla за разработку технологии pdf.js, использованной в данном плагине.
Скриншоты
Блоки
Этот плагин предоставляет 1 блок.
- PDF Embedder
Установка
Easiest way:
- Go to your WordPress admin control panel’s plugin page
- Search for ‘PDF Embedder’
- Щёлкните Установить
- Click Activate on the plugin
If you cannot install from the WordPress plugins directory for any reason, and need to install from ZIP file:
- Загрузите папку плагина вместе с содержимым в папку
/wp-content/plugins/
на сервере или загрузите ZIP архив плагина непосредственно в секцию Плагины панели управления вашего сервера WordPress - Follow the instructions from step 4 above
Часто задаваемые вопросы
-
How can I obtain support for this product?
-
We have instructions and a Knowledge Base on our website explaining common setup queries and issues.
Пишите письма с вашими вопросами на е-мэйл contact@wp-pdf.com.
Always include your full shortcode, plus links to the relevant pages, and screenshots if they would be helpful too.
Время от времени мы можем отвечать на запросы в форуме «Поддержка» на странице плагина, но мы рекомендуем обращаться к нам по электронной почте, если это возможно.
-
How can I change the Size or customize the Toolbar?
-
See Settings -> PDF Embedder in your WordPress admin to change site-wide defaults. You can also override individual embeds by modifying the shortcode.
Resizing works as follows:
- If width=’max’ the width will take as much space as possible within its parent container (e.g. column within your page).
- If width is a number (e.g. width=’500′) then it will display at that number of pixels wide.
In all cases, if the parent container is narrower than the width calculated above, then the document width will be reduced to the size of the container.
Высота области просмотра будет рассчитана таким образом, что бы документ поместился полностью, при условии, что ширина уже известна.
Панель навигации с кнопками Вперёд/Назад может располагаться сверху и снизу относительно документа, или и сверху и снизу одновременно, она может всегда или только при наличии указателя над документом.
Более подробная информация о размере области просмотра и настройках панели навигации представлена в Руководстве пользователе.
-
Функции, доступные в премиальных версиях плагина:
- Кнопка загрузки в панели навигации
- Удобное пролистывание страниц документа
- Гиперссылки полностью работают
- Полноэкранный режим
- Прямо указать номер страницы для перехода
- Отслеживание количества скачиваний и просмотров
- Убирает указание на wp-pdf.com с панели навигации
- Оптимизировано для мобильных устройств
- Защищённая публикация — сложно скачать исходный документ PDF
Более подробная информация на wp-pdf.com!
-
Can I improve the viewing experience for mobile users?
-
Yes, our PDF Embedder Premium plugin has an intelligent ‘full screen’ mode.
When the document is smaller than a certain width, the document displays only as a ‘thumbnail’ with a large ‘View in Full Screen’ button for the user to click when they want to study your document.
This opens up the document so it has the full focus of the mobile browser, and the user can move about the document without hitting other parts of the web page by mistake.
Click Exit to return to the regular web page.Более подробную информацию и варианты приобретения смотрите на нашем сайте wp-pdf.com.
-
Can I protect my PDFs so they are difficult for viewers to download directly?
-
Not with the free or (regular) pdf embedder premium versions — it is relatively easy to find the link to download the file directly.
A secure premium version is available that encrypts the PDF during transmission, so it is difficult for a casual user to save or print the file for use outside your site.
Более подробную информацию и варианты приобретения смотрите на нашем сайте wp-pdf.com.
-
Это возможно только в Premium версиях. Как возможное решение для бесплатной версии, можно добавить прямую ссылку на PDF рядом со внедрённым PDF документом.
Что бы сделать это, скопируйте ссылку из шорткода внедрения PDF и вставьте её, используя разметку HTML, например:
<a href=»(ссылка на ваш PDF)»>Скачать отсюда</a> -
Поддерживаются ли гиперссылки в документах?
-
Версии Premium обеспечивают полное функционирование гиперссылок- как внутри документа, так и на сторонние ресурсы.
-
Могу я убрать указание на wp-pdf.com с панели навигации?
-
Самый простой способ это обновиться до версии Premium, но если вы знаете как добавлять записи в вашу базу данных, вы можете внести следующую запись в таблицу wp_options: option_name ‘pdfemb_poweredby’, option_value ‘1’.
За более подробной информацией о Premium версиях плагина обращайтесь на наш сайт wp-pdf.com.
Отзывы
Участники и разработчики
«PDF Embedder» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«PDF Embedder» переведён на 18 языков. Благодарим переводчиков за их работу.
Перевести «PDF Embedder» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
4.6.4
Resolved Javascript errors in minified JS
4.6.3
Added about tab
Updated core PDF.js functionality
Addressed mobile issue in Safari iOS
4.6.2
Added support for Italian language
Security & Bug fixes
Updated compatibility for WordPress 5.7
4.6.1
PDF Zoom increase upto 800%
Added compatibility for WordPress 5.7
4.6
Fix language compatibility issue in viewer
Fixes js and css files cache issue
Added compatibility for WordPress 5.3.2
4.5
Added compatibility for WordPress 5.3
Fixes multiple PDF rendering issues in viewer
4.4
Fixed code for policy compatibility
4.3
Fixed Scrollbar issues with Firefox and iOS devices. Improved compatibility
4.2
Fixed script problem on some Gutenberg editor installations. Improved compatibility
4.1
Добавлена совместимость с WordPress 5.2.1.
4.0
Fixed general bug & added compatibility
3.2.1
Добавлена совместимость с WordPress 5.2.1.
3.2
Added compatibility with Gutenberg Editor
3.1.8
Updated version of underlying pdf.js library, fixes some rendering bugs.
Recalculates fresh viewer size more often in response to resize events. Previous versions attempted to increase performance by only recalculating viewer size when it had changed, but this missed some required resizing after Javascript-based tabs are clicked.
Fixed some issues with zoom appearance.
Mouse scroll wheel is now more consistent across all browsers (in terms of scroll speed).
When scrollbars are always visible, no longer cuts off edge of PDF underneath.
3.1.2
Ready for compatibility with WordPress 4.8.
New mouse wheel scrolling in Firefox wasn’t working with some themes.
Latest version of pdf.js library, and newest code bringing the free version into line with the premium versions.
Mouse wheel scrolling in Firefox no longer also scrolls the window unless at very top or bottom of page.
3.0.1
Latest version of pdf.js library, and newest code bringing the free version into line with the premium versions.
Improved responsiveness and redraw of pages.
Плагин теперь учитывает флаг SCRIPT_DEBUG в файле wp-config.php и отображает «не уменьшенные» версии файлов JS, если параметр установлен в «true».
Помогает в отладке любых проблем.
2.8.2
Самая свежая версия pdf.js для обеспечения последних достижений/исправлений в отображении PDF.
2.8
Internal code refactoring. Added note that ‘page turning arrows’ are now available in the premium versions.
2.7.5
Fix for a small number of PDFs rendering as smaller than expected on some high resolution screens.
2.7.3
Пожалуйста, очистите кэш браузера и WordPress, если у вас возникли какие-либо проблемы после установки этого обновления.
Улучшена поддержка дисплеев с высоким разрешением
Улучшено SEO для внедрённых PDF (которые изначально ссылки, пока Javascript не преобразует их в интерактивный вид).
Это так же гарантирует доступность PDF для пользователей, даже если Javascript приводит к сбоям в работе вашего сайта.
Совместимость с WordPress 4.6
Добавлен фильтр под названием my_pdfemb_override_send_to_editor, который означает, что создание шорткодов может быть отключено, если нужно.
Использует самую свежую версию pdf.js для отображения PDF.
Кнопки на панели навигации имет аттрибут type=»button» для исключения конфликтов с некоторыми другими плагинами.
Перевод на испанский язык выполнен Armando Landois.
Added pdfemb_filter_shortcode_attrs filter so developers can change default shortcode parameters through code.
2.5.5
Исправления для языков с написанием справа налево.
2.5.4
Перевод на испанский язык выполнен Thierry Gaillou из JDFitForme.
Использует более новую версию pdf.js для отображения PDF.
2.5
Использует самую свежую версию pdf.js для отображения PDF.
Подчищена страница настроек.
2.4.7
Некоторые настройки было сложно изменять в режиме Multisite
2.4.3
Код для размещения информации о переходе по ссылкам — доступно только в версиях Premium.
Обновлены языки.
2.4.1
Код для размещения информации о просмотрах/загрузках — доступно только в версиях Premium.
Обновлены языки.
2.4
Теперь плагин может быть переведён на другие языки! С радостью примем ваши переводы!
Совместимость с WordPress 4.4
Содержит информацию про новые функции версий Premium:
Работающие ссылки
Переход к заданному номеру страницы
2.2.5
Улучшено описани некоторых ошибок (например, попытка обращения PDF на другом домене)
Принудительное использование белого фона по-умолчанию — замещает настройки CSS в некоторых темах.
2.2.4
Кнопка ‘Загрузить PDF’ добавлена в параметрах, но работает только в версиях Premium.
2.2.2
Обновлённые кнопки на панели навигации
2.2
Новая версия PDF.js, исправлены некоторые ошибки отображения PDF.
2.1.4
PDF загружается по тому же протоколу (http/https), что и сама страница, независимо от того, как ссылка указана в шорткоде. Это исключает конфликты и сбои при отображении PDF если протоколы не совпадают.
2.1
Добавлена страница Настройки -> PDF Embedder, так что теперь вы можете задавать глобальные настройки высоты, ширины области просмотра и расположения/отображения панели навигации.
2.0
Добавлена функция масштабирования. Панели навигации теперь могут быть постоянными, а не отображаться только при появлении указателя над областью просмотра.
1.2.1
Исправлены «области прокрутки» в IE.
1.2
Исправлены проблемы с ‘областью прокрутки’.
Отображаются номера страниц на панели навигации («Страница 1/10»)
Добавлен указатель «секундочку…»
Улучшено отображение многих PDF (Добавлена поддержка ‘cmaps’).
1.0.4
Добавлен compatibility.js для поддержки некоторых малораспространённых браузеров, таких как Safari, который не позволяет Range запросы.
1.0.2
Уменьшен код Javascript. Высота/ширина по-умолчанию (сейчас «max») расширяет область просмотра так, что бы заполнить всё доступное пространство, независимо от исходного размера документа. Используйте width=»auto» для возврата к тому, как было раньше.
1.0.1
Добавлены инструкции на странице настроек.
1.0
Первая версия