Home » dkpdf-remove

dkpdf-remove

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

New shortcode tag attribute Since: 1.9

[dkpdf-remove tag="gallery"][gallery ids="827,811,770"][/dkpdf-remove]


In this example, clicking PDF Button, gallery shortcode isn’t shown in the generated PDF.

Adding dkpdf-remove shortcode.
Adding 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.
The piece of content inside the shortcode is hidden in the pdf.
The piece of content inside the shortcode is hidden in the pdf.