Shortcodes

    • Remove shortcodes in PDF

      Removes a shortcode by tag (shortcode slug name) in the generated PDF, in this example we’re removing a shortcode with slug: responsivevoice. Removes all shortcodes in the generated PDF.
    • [dkpdf-remove]

      Use this shortcode to remove pieces of content in the generated PDF. New shortcode tag attribute Since: 1.9 In this example, clicking PDF Button, gallery shortcode isn’t shown in the generated PDF. Using Adding dkpdf-remove shortcode The piece of content inside the shortcode remains visible in the page Using [dkpdf-pagebreak] results
    • [dkpdf-pagebreak]

      This shortcode allows adding page breaks in the content. All the content that follows this shortcode is going to go the next page. You can use this shortcode multiple times in the content.
    • [dkpdf-columns]

      Allows split the content of the PDF in columns. Basic Usage Shortcode Parameters [dkpdf-columnbreak] Use this shortcode inside [dkpdf-columns] to start a new column after it, in the example below we are adding [dkpdf-columnbreak] just after the list: Split content in columns
    • [dkpdf-button]

      You can add dkpdf-button shortcode to any post, page or custom post type. Use Position / Use shortcode when you’re adding the shortcode button manually either in the content of the post or in a PHP template. To add the shortcode in a PHP template, use: