Title: PDF Shortcodes Ultimate
Author: Open-DSI
Published: <strong>2017 年 9 月 28 日</strong>
Last modified: 2017 年 9 月 28 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/pdf-shortcodes-ultimate/assets/icon-256x256.png?rev=1744706)

# PDF Shortcodes Ultimate

 作者：[Open-DSI](https://profiles.wordpress.org/opendsi/)

[下载](https://downloads.wordpress.org/plugin/pdf-shortcodes-ultimate.zip)

 * [详情](https://cn.wordpress.org/plugins/pdf-shortcodes-ultimate/#description)
 * [评价](https://cn.wordpress.org/plugins/pdf-shortcodes-ultimate/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/pdf-shortcodes-ultimate/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/pdf-shortcodes-ultimate/#developers)

 [支持](https://wordpress.org/support/plugin/pdf-shortcodes-ultimate/)

## 描述

This plugin adds the “PDF” shortcode to the list of shortcodes provided by the Shortcodes
Ultimate plugin, under the Media category.

It will let you select a PDF document from your Media manager (or directly enter
an URL).

This shortcode, once inserted to your page or article, will render the PDF directly
in your page (responsive, 16:9 aspect ratio).
 In case the browser does not have
a built-in PDF viewer, it will display the fallback link to download the PDF instead.

## 屏幕截图

 * [[
 * “PDF” shortcode, under the Media category, in Shortcodes Ultimate popup.
 * [[
 * PDF shortcode options.
 * [[
 * Choose a PDF document from the Media library.
 * [[
 * PDF shortcode options: Live Preview.
 * [[
 * “su_pdf” shortcode inserted into “Sample” page.
 * [[
 * Sample page displaying our embedded PDF using the browser’s built-in PDF viewer.

## 安装

Installing “PDF Shortcodes Ultimate Add-on” can be done either by searching for “
PDF Shortcodes Ultimate Add-on” via the “Plugins > Add New” screen in your WordPress
dashboard, or by using the following steps:

 1. Download the plugin via WordPress.org
 2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress
    dashboard
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

  Installation Instructions

Installing “PDF Shortcodes Ultimate Add-on” can be done either by searching for “
PDF Shortcodes Ultimate Add-on” via the “Plugins > Add New” screen in your WordPress
dashboard, or by using the following steps:

 1. Download the plugin via WordPress.org
 2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress
    dashboard
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

  Does this plugin depend on any others?

Yes. It depends on the [Shortcodes Ultimate](https://wordpress.org/plugins/shortcodes-ultimate/)
plugin. It was tested with Shortcodes Ultimate 4.10.2.

  Does this create new database tables?

No. There are no new database tables with this plugin.

  Does this load additional JS or CSS files ?

Yes. It loads the `media-shortcodes.css` file on pages or articles containing the
PDF shortcode.
 This CSS file is loaded for Media shortcodes by the Shortcodes Ultimate
plugin itself.

  Can I use a PDF from my computer?

Yes. Once on the “PDF” shortcode options screen, click on the “Media manager” button.
Now, drag and drop your PDF document on the screen. Once your PDF has finished uploading,
click the “Insert” button.

  Can I use a PDF that is already online?

Yes. Open the online PDF using your browser. Copy the document public URL. Once 
on the PDF shortcode options screen, paste the PDF URL in the URL field.

  What does the shortcode itself look like?

Here is an example of PDF shortcode:

    ```
    [su_pdf url="https://mysite.org/wordpress/wp-content/uploads/2017/09/my-document.pdf" link="Click here to download PDF"]
    ```

  What does the HTML code produced by the shortcode look like?

Here is an example of HTML code produced by the PDF shortcode:

    ```
    <div class="su-pdf su-responsive-media-yes">
      <object data="https://mysite.org/wordpress/wp-content/uploads/2017/09/my-document.pdf" type="application/pdf">
        <p>
          <a href="https://mysite.org/wordpress/wp-content/uploads/2017/09/my-document.pdf">
            Click here to download PDF
          </a>
        </p>
      </object>
    </div>
    ```

  Is the plugin translated?

Yes. It is translated in French (fr_FR).
 You will find the translation files in
the `lang/` folder. New translations are welcome at https://translate.wordpress.
org/projects/wp-plugins/pdf-shortcodes-ultimate

  Where can I get support?

https://wordpress.org/support/plugin/pdf-shortcode-ultimate/

## 评价

此插件暂无评价。

## 贡献者及开发者

「PDF Shortcodes Ultimate」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Open-DSI ](https://profiles.wordpress.org/opendsi/)

[帮助将「PDF Shortcodes Ultimate」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/pdf-shortcodes-ultimate)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/pdf-shortcodes-ultimate/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/pdf-shortcodes-ultimate/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/pdf-shortcodes-ultimate/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/pdf-shortcodes-ultimate/)。

## 更新日志

#### 1.0.0

 * 2017.09.25
 * Initial release

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**9 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 3.9 或更高版本 **
 *  已测试的最高版本为 **4.8.28**
 *  语言
 * [English (US)](https://wordpress.org/plugins/pdf-shortcodes-ultimate/)
 * 标签
 * [embed](https://cn.wordpress.org/plugins/tags/embed/)[pdf](https://cn.wordpress.org/plugins/tags/pdf/)
   [pdf viewer](https://cn.wordpress.org/plugins/tags/pdf-viewer/)[Shortcodes Ultimate](https://cn.wordpress.org/plugins/tags/shortcodes-ultimate/)
 *  [高级视图](https://cn.wordpress.org/plugins/pdf-shortcodes-ultimate/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/pdf-shortcodes-ultimate/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/pdf-shortcodes-ultimate/reviews/)

## 贡献者

 *   [ Open-DSI ](https://profiles.wordpress.org/opendsi/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/pdf-shortcodes-ultimate/)