本站PDF文件下載方法

        本站中轉載的PDF文件提供下載。下載方法如下:

PDF Embed Tutorial

You can use the following shortcode to embed a PDF file to WordPress posts or pages:

 


 

The PDF URL must comply with the following requirements:

  • The PDF URL is defined with the src attribute.
  • The PDF file MUST be hosted on the SAME DOMAIN as your WordPress website.
  • The PDF URL MUST be an absolute URL, that’s, the URL must start with http:// or https://.
  • Make sure there are no special characters in the PDF URL, for example, apostrophes, double quotes, accented letters etc.

Shortcode attributes:

  • You can use px or % for the width and height attributes, for example, 600px or 100%.
  • By using % for the width attribute, the PDF viewer will be responsive.
  • If you use 100% for the height attribute, make sure the container of the shortcode has a proper height value.
  • You can use the style attribute to define the CSS style of the PDF viewer which is an iframe.

 

轉載請遵循[CC BY 3.0 CN(by-nc-sa)]:NANQ重構 » 本站PDF文件下載方法

赞 (0) 打賞

相关推荐

    暂无内容!

留下評論

100
  訂閱  
通知

覺得文章有用就打賞一下作者

支付宝扫一扫打赏

微信扫一扫打赏