{"id":4288,"date":"2017-08-30T09:02:15","date_gmt":"2017-08-30T09:02:15","guid":{"rendered":"https:\/\/demos.welaunch.io\/woocommerce-print-products\/?post_type=faq&#038;p=181"},"modified":"2021-07-15T23:47:25","modified_gmt":"2021-07-15T21:47:25","slug":"print-product-shortcode","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/print-product-shortcode\/","title":{"rendered":"Print Product Shortcode"},"content":{"rendered":"<p>The following shortcode displays the PDF export button for the product ID 76. The button text is at the end:<\/p>\n<pre>[print_product id=\"PRODUCT_ID\" mode=\"pdf\" show_icon=\"no\" text=\"Export Product X as PDF\"]<\/pre>\n<p>Mode can be set to pdf, word or print. If you let the ID parameter empty, then our plugin tries to get product automatically.\u00a0<\/p>\n<div class=\"message-box relative dark\" style=\"padding-top:15px;padding-bottom:15px;\"><div class=\"message-box-bg-image bg-fill fill\" ><\/div><div class=\"message-box-bg-overlay bg-fill fill\" style=\"background-color:rgb(220, 19, 19);\"><\/div><div class=\"container relative\"><div class=\"inner last-reset\">\n<div class=\"row align-middle align-center\"  id=\"row-170132689\">\n\n\t<div id=\"col-549568310\" class=\"col small-12 large-12\"  >\n\t\t\t\t<div class=\"col-inner\"  >\n\t\t\t\n\t\t\t\n<p>NEW: Set show_icon parameter to yes or no. Furthermore you can leave out the text parameter now and it will take global text settings.<\/p>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\n\t\n<\/div>\n<\/div><\/div><\/div>\n\t<div id=\"gap-896695491\" class=\"gap-element clearfix\" style=\"display:block; height:auto;\">\n\t\t\n<style>\n#gap-896695491 {\n  padding-top: 30px;\n}\n<\/style>\n\t<\/div>\n\t\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-4288","faq","type-faq","status-publish","hentry","faq_topics-print-products-shortcodes"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/comments?post=4288"}],"version-history":[{"count":4,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4288\/revisions"}],"predecessor-version":[{"id":9024,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4288\/revisions\/9024"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/media?parent=4288"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/product_cat?post=4288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}