[wordpress插件] Embed PDF嵌入PDF

wordpress 插件 文章 2020-04-17 13:51 1038 0 全屏看文

AI助手支持GPT4.0

评分
88
描述

Will embed a PDF file using Google Docs Viewer

将使用Google Docs Viewer嵌入PDF文件

Simply include the URL for a PDF document on it's own line, or wrapped in the embed tag like [embed]http://example.com/file.pdf[/embed] and the plugin will embed

只需在单独的一行中包含PDF文档的URL,或将其包裹在嵌入标签中,如 [embed] http://example.com/file.pdf [/ embed] 这样,插件就会嵌入

the PDF into the page using the Google Docs Viewer embed code.

使用Google Docs Viewer嵌入代码将PDF插入页面。

The url must end with .pdf

网址必须以 .pdf 结尾

Supported attributes in the embed tag are class id title height and width

embed标签中支持的属性是 class id title height width

>

>

安装步骤

    1. Upload dirtysuds-embed-pdf to the /wp-content/plugins/ directory
    2. dirtysuds-embed-pdf 上载到 / wp-content / plugins / 目录

    3. Activate DirtySuds – Embed PDF through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活 DirtySuds –嵌入PDF

    5. That’s it.

    6. 就是这样。

      Now when you embed a PDF using the WordPress [embed] shortcode, the plugin will embed the document using the Google Docs viewer

    7. 现在,当您使用WordPress [embed] 短代码嵌入PDF时,插件将使用Google Docs查看器嵌入文档

下载地址
https://downloads.wordpress.org/plugin/dirtysuds-embed-pdf.1.0.6.zip
-EOF-

AI助手支持GPT4.0