這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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 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〉的開發相關工作。

參與者

將〈PDF Shortcodes Ultimate〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • 2017.09.25
  • Initial release