PDF Generator Crowd API

PDF Generator Crowd API

Wordpress plugin

Install on Wordpress

App Details

This plugin makes it very easy to create PDF’s on the fly. With a single shortcode it could create X amount of PDF’s “on the fly” / in realtime when
a user visits a specific page or post. It’s possible to create PDF’s from current page/post/acf-field(s) or from a specific given url. The plugin is available in swedish and english but could easily be translated into whatever language.

The generation itself is managed by connecting to PDF Crowd API so you will need to have an account
there to use this plugin. Every time the plugin is making a connection to the API a token is drawn. There is a free version of the API that has limited number
of tokens. From version 1.18 of this plugin it’s possible to connect to the API only when data changes in any page or post which makes a huge difference in number of tokens that are used.
Number of tokens drawn for each connection depends of the size of generated PDF(s) amongst some other parameters. It’s possible to use a page/post-template and
fetch data from ACF (Advanced Custom Fields) with this plugin.

Pricing for the PDF Crowd API service (and option to evalue the service) is shown here: http://pdfcrowd.com/pricing/ (Select option “HTML to PDF API” and make your choice). The PDF Crowd API service
is not created by the author so please have that in mind if you ask questions regarding the actual generation(s) of the PDF(s). The service is used by the
plugin because it was simply the best PDF generation software that was found (by the plugin author).

PDF Crowd states:
“Each API call makes a POST request to our servers. We do not disclose or keep copies of submitted data and generated files. They are kept only for the time necessary to efficiently process conversion requests and then permanently deleted.”

If you like the plugin, please consider donating.

Example of usage

shortcodes in post(s)/page(s)

  • [pdfcrowd_generate debug_mode=”no” create_downloadlink=”yes” out_files=”pdfcrowd;wibergsweb” overwrite_pdf=”no” convert_urls=”http://pdfcrowd.com/;http://wibergsweb.se/” link_titles=”PDF Crowd PDF Site;Wibergs Web site” html_class=”pdfdownloadlink”]
  • [pdfcrowd_generate debug_mode=”no” out_files=”pdfcrowd;wibergsweb” overwrite_pdf=”yes” convert_urls=”http://pdfcrowd.com/;http://wibergsweb.se/” link_titles=”PDF Crowd PDF Site;Wibergs Web site” html_class=”pdfdownloadlink”]
  • [pdfcrowd_generate debug_mode=”yes” use_ssl=”yes” out_files=”pdfcrowd;wibergsweb” convert_urls=”http://pdfcrowd.com/;http://wibergsweb.se/” link_titles=”PDF Crowd PDF Site;Wibergs Web site” html_class=”pdfdownloadlink”]
  • [pdfcrowd_generate debug_mode=”yes” create_downloadlink=”yes” out_files=”invoice” overwrite_pdf=”datachange” data_fields=”acf_surname;acf_lastname” data_acfkeys=”field_5859b22623ca5;field_5859b260bb104″ link_titles=”PDFmaster” convert_urls=”{681}” data_postid=”all” pagebreak_afterpost=”yes” last_shortcode=”no”]

If using ACF (Advanced Custom Fields)

  • convert_urls=”{100}” means grab url from page/post with id 100. In cases below it could be a page template (with id 100):
  • [pdfcrowd_generate last_shortcode=”no” debug_mode=”no” autosum_fields=”yes” targetblank=”yes” create_downloadlink=”yes” out_files=”invoice” overwrite_pdf=”datachange” convert_urls=”{100}” data_postid=”all” data_cpt=”customer” data_fields=”acf_customer_phone;acf_customer_name;acf_customer_trailers” data_acfkeys=”field_285b0870afcf6;field_285b064d43bec;field_585b0b3288d6e” link_titles=”Invoices”]
  • [pdfcrowd_generate last_shortcode=”no” debug_mode=”no” autosum_fields=”yes” targetblank=”yes” create_downloadlink=”yes” out_files=”invoice” overwrite_pdf=”datachange” convert_urls=”{100}” data_postid=”all” data_cpt=”customer” data_fields=”acf_customer_phone;acf_customer_name;acf_customer_trailers” data_acfkeys=”field_285b0870afcf6;field_285b064d43bec;field_585b0b3288d6e” link_titles=”Invoices” add_related_fields=”1;Model of car;acf_customer_cars_reg;acf_cars_model”]
  • [pdfcrowd_generate last_shortcode=”no” debug_mode=”no” autosum_fields=”yes” targetblank=”yes” create_downloadlink=”yes” out_files=”invoice” overwrite_pdf=”datachange” convert_urls=”{100}” data_postid=”55″ data_cpt=”customer” data_fields=”acf_customer_phone;acf_customer_name;acf_customer_trailers” data_acfkeys=”field_285b0870afcf6;field_285b064d43bec;field_585b0b3288d6e” link_titles=”Invoices” add_related_fields=”1;Model of car;acf_customer_cars_reg;acf_cars_model”]

Page template could look something like this

Invoice

[title]

Phonenumber:: [acf_customer_phone]

Cars

[acf_customer_cars]

Net:
[crowdpdf-total=field_585b0b3288d2e]

Vat:
[crowdpdf-totalvat=field_585b0b3288d2e]

Gross:
[crowdpdf-totalaftervat=field_585b0b3288d2e]

Explanation of the shortcode

  • [pdfcrowd_generate last_shortcode=”yes” debug_mode=”no” autosum_fields=”yes” targetblank=”yes” create_downloadlink=”yes” out_files=”invoice” overwrite_pdf=”datachange” convert_urls=”{100}” data_postid=”55″ data_cpt=”customer” data_fields=”acf_customer_phone;acf_customer_name;acf_customer_trailers” data_acfkeys=”field_285b0870afcf6;field_285b064d43bec;field_585b0b3288d6e” link_titles=”Invoice” add_related_fields=”1;Model of car;acf_customer_cars_reg;acf_cars_model”]
  • It’s only one shortcode on the page, so it’s the last
  • No debugmode
  • Tell plugin to autosum specific fields
  • Create downloadable link
  • Open newly created download pdf in new tab/window
  • Create a file called invoice
  • Only generate new pdf/connect to PDF Crowd server when data has been changed
  • Use page with id 100 as a template page
  • Grab data from post type customer
  • Grab data from customer with id 55
  • Use datafields called acf_customer_phone (with key field_285b0870afcf6), acf_customer_name (with keyfield_285b064d43bec) and acf_customer_cars (acf_customer_cars is a repeater-field with keyfield field_585b0b3288d6e)
  • Use Invoice as title on the download link
  • acf_customer_cars is a repeater field with these subfields (Name, color)
  • A new column is added in the repeater field in the PDF (but not in the admin) with the titlte “Model of car” at the second position in the index (1) and fetches the actual carmodel from related model of the car

[title] – shows the actual
field_585b0b3288d2e is the keyfield of the ACF that is being autosummarized (in the repeater field)

Start with setting debug_mode to yes when creating your attributes. It might be more helpful than you think! Happy generating! 🙂

Example css

  • .pdfdownloadlink {display:block;background:#0000FF;}

Pricing

Starting from $0 per month.

Check Out the Threads Feed Widget

By Common Ninja

Threads FeedTry For Free!

App Info

Rating

Reviewers

No reviews

Tags

acf
create
generate
generator
pdf

Developed By

wibergsweb

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Threads Feed for Wordpress logo

Threads Feed

Show Threads posts in a live feed that keeps content fresh, builds social proof, and helps visitors engage on your site.

YouTube Feed for Wordpress logo

YouTube Feed

Show YouTube videos in a customizable YouTube feed that keeps content fresh, boosts watch time, and helps visitors explore more of your channel.

Live Weather Forecast for Wordpress logo

Live Weather Forecast

Use a live weather forecast widget to show current conditions and upcoming predictions, giving visitors real time local weather updates for better planning.

Tripadvisor Reviews for Wordpress logo

Tripadvisor Reviews

Show Tripadvisor reviews to build trust, improve credibility, and help visitors make confident booking decisions that support higher property sales.

Google Maps for Wordpress logo

Google Maps

Show business locations clearly with a Google Maps widget that displays multiple points, detailed info, and customizable styles to help visitors find you easily.

YouTube Slider for Wordpress logo

YouTube Slider

Show YouTube videos with a YouTube slider that displays clips in a smooth, customizable layout to boost engagement.

WhatsApp Chat for Wordpress logo

WhatsApp Chat

Add WhatsApp Chat to your site to communicate with visitors, deliver instant support, and create a smoother, more trustworthy user experience.

Interactive Maps for Wordpress logo

Interactive Maps

Create interactive maps with color coding and tooltips to visualize data clearly and embed engaging maps on your site.

Course Listings for Wordpress logo

Course Listings

Create course listings with a course catalog widget that displays programs clearly, supports easy organization, and helps visitors explore courses effectively.

QR Code for Wordpress logo

QR Code

Use the QR Code Generator to create and display QR codes for URLs, contact info, downloads, locations, and more.

Video Carousel for Wordpress logo

Video Carousel

Showcase videos with a video carousel that rotates or slides clips, improves visual design, and keeps visitors watching and engaged.

Vimeo Slider for Wordpress logo

Vimeo Slider

Show Vimeo videos with a Vimeo slider that displays clips in a smooth slider to boost engagement and keep visitors watching.

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms