[dkpdf-remove]

Use this shortcode to remove pieces of content in the generated PDF.

Using Adding dkpdf-remove shortcode

Example using dkpdf-remove shortcode.

The piece of content inside the shortcode remains visible in the page

The piece of content inside the shortcode remains visible in the page

Using [dkpdf-pagebreak] results

In the generated PDF, the content inside dkpdf-remove is not visible.

Shortcode tag attribute

Allows you indicate the shortcode to remove, in this example it would remove the gallery shortcode in the generated PDF:

[dkpdf-remove tag="gallery"]
[gallery ids="827,811,770"]
[/dkpdf-remove]
DK PDF WP Gallery

The gallery shortcode wouldn’t shown in the generated PDF.