PDF Button

PDF Button generates the PDF version of the current page or a specific portion.


  • Converter, method ora library to be applied for conversion to pdf. The available options are:  
    • JS, the best converter you can use on this widget. It's the only one that supports the same graphic and style you are using on your Elementor page or template. It doesn't support correctly the text between pages.
    • DomPDF supports CSS2 and templates. It doesn't support custom fonts and background.
    • TCPDF, a very stable converter, quickly but not support the latest CSS and structured template. It works with the table.
    • Browser, the built-in browser print to PDF, very powerful and configurable by the user.
  • Title, the title of the generated document in pdf. It's the name of the post by default. You can use Tokens or Dynamic Tags.
  • Body, the layout of the pdf to create: 
    • Current Post, use CSS selector defined in the HTML Container.
    • Template, use a custom Elementor Template, where you can use standard widgets like Title, Content, Image, etc.
  • Page Size, format to be applied to the pdf document;
  • Page Orientation, vertical or horizontal;
  • Page Margin, margins of the PDF document;


The Button settings, equal to the Button Widget in Elementor Free:

  • Type;
  • Text;
  • Alignment;
  • Size;
  • Icon;
  • Icon Position;
  • Icon Spacing;
  • Button ID.

With a little change on Link section:

  • Open in a new window, open the link in a new tab;
  • Add nofollow, to avoid spider follow the link;
  • Force download, add the download attribute to the link anchor.

DomPDF is subject to limitations in complex layout conversions, so it is advisable to adopt layouts that are not too elaborate.


If in PDF process generation you get this error (or similar):
PHP Parse error: syntax error, unexpected '?'
in /public_html/wp-content/plugins/dynamic-content-for-elementor/vendor/symfony/dom-crawler/Crawler.php on line 1170
Is because your server is running a non updated version of PHP (7.0).
Upgrade to PHP >= 7.1
version will resolve the bug of the required library used to create the PDF.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us