• Home
  • Plugins
    • BSK PDF Manager
    • BSK Forms Blacklist
    • BSK Forms Validation
  • Documentations
    • BSK PDF Manager
    • BSK Forms Blacklist
    • BSK Forms Validation
  • Blog
  • Contact Us
  • Your Account
    • Purchase History
    • Checkout

Display PDF by embedding

This feature is available since version 3.5.

This feature has nothing to do with the global embedded viewer, you can use this shortcode with the embedded viewer enabled or disabled.

Shortcode

[bsk-pdfm-pdfs-embed] for embedding PDF content into post / page or any area that can execute a shortcode.

Common uses

show PDF contnet of document id: 52 with default width and height in post / page
[bsk-pdfm-pdfs-embed id="52"]
click to copy

view demo

Content of specific PDF displayed in percent width of the container and fixed pixel height
[bsk-pdfm-pdfs-embed id="52" width="80%" height="400px"]
click to copy

view demo

Content of specific PDF displayed without download button, text select option, print button of toolbar and disable mouse right click
[bsk-pdfm-pdfs-embed id="52" width="100%" height="600px" download_button="NO" print_button="NO" text_selection_tool="NO" disable_right_click="YES"]
click to copy

view demo

Shortcode attributes table

You may choose the features you want and then add associated attributes to shortcode.

Attribute Values Default
id integer value
Examples Description
[bsk-pdfm-pdfs-embed id="52"]
click to copy

view demo

show PDF content with specifc id of: 52
Attribute Values Default
disable_viewer_on_mobile string, YES or NO NO
show_download_on_desktop string, YES or NO NO
show_download_on_mobile string, YES or NO YES
download_prefix string, custom Download:
Examples Description
[bsk-pdfm-pdfs-embed id="52" show_download_on_desktop="YES" disable_viewer_on_mobile="YES"]
click to copy

view demo

Display PDF in embeded viewer and show download link both on desktop and mobile below the document.
[bsk-pdfm-pdfs-embed id="52" disable_viewer_on_mobile="YES" download_prefix="Please download by click: "]
click to copy

view demo

Disable (hide) embeded viewer on mobile and show download link with custom prefix
Attribute Values Default
width percent, integer value with px appended 100%
height integer value with px appended 520px
border integer value with px appended
border_color Hexadecimal color value
Examples Description
[bsk-pdfm-pdfs-embed id="52" border="1px" border_color="#8ed1fc"]
click to copy

view demo

show PDF content with specifc id of: 52 in container with default width and height, with a border of 1px and border color: #8ed1fc
[bsk-pdfm-pdfs-embed id="52" width="70%" height="400px" border="3px" border_color="#8ed1fc"]
click to copy

view demo

show PDF content with specifc id of: 52 in container with 70% width and 400px height, with a border of 3px and border color: #8ed1fc
[bsk-pdfm-pdfs-embed id="52" width="600px" height="400px" border="3px" border_color="#8ed1fc"]
click to copy

view demo

show PDF content with specifc id of: 52 in container with 600px width and 400px height, with a border of 3px and border color: #8ed1fc
Attribute Values Default
disable_right_click string, YES or NO NO
show_toolbar string, YES or NO YES
text_button string, YES or NO YES
draw_button string, YES or NO YES
stamp_button string, YES or NO YES
download_button string, YES or NO YES
print_button string, YES or NO YES
open_file_button string, YES or NO YES
text_selection_tool string, YES or NO YES
document_properties_menu string, YES or NO YES
Examples Description
[bsk-pdfm-pdfs-embed id="62" disable_right_click="YES"]
click to copy

view demo

show PDF content of with specifc id of: 62, disable mouse right click
[bsk-pdfm-pdfs-embed id="62" show_toolbar="NO"]
click to copy

view demo

show PDF content of with specifc id of: 62, without PDF viewer's toolbar
[bsk-pdfm-pdfs-embed id="62" disable_right_click="YES" download_button="NO" print_button="NO" text_selection_tool="NO"]
click to copy

view demo

show PDF content of with specifc id of: 62, disable mouse right click and don't show download, print, text selection tool buttons in PDF viewer's toolbar

*  These options are only used to control the viewer toolbar in Mozilla's PDF.js. It does not prevent experienced visitors from downloading, printing or copying your PDF text.

Purchase BSK PDF Manager Pro

Installation

  • How to install free version
  • How to install Pro version
  • How to upgrade to Pro version
  • Check version and update automatically
  • Update new version manually
  • Settings

    • Set Upload Directory
    • Multiple document formats
    • Featured image settings
    • Permalink settings
    • Sort PDFs / documents by date / title / custom / last modified
    • Hierarchical Category
    • Capability settings
    • User Available Categories
    • Embedded Viewer
    • Upload

      • Upload PDF / Document
      • Bulk Upload by FTP
      • Bulk add by Media Library
      • Generate thumbnail of PDF
      • Notification

        • Auto on new uploaded
        • Notify admin to approve PDF/document
        • Display all / specific

          • In list
          • In columns
          • In dropdown
          • Get specific PDFs' link only
          • Get specific PDFs' URL only
          • Display by category

            • In list
            • In columns
            • In dropdown
            • Display with category selector

              • In list
              • In columns
              • In dropdown
              • Embed PDF into Post / Page

                • Display PDF by embedding

                Hooks

                • Hooks

                FAQ

                • FAQ
  • Licensing
  • Refund Policy
  • Affiliate Area

 

Copyright © 2025 BannerSky

BannerSky