{"id":375,"date":"2016-12-23T02:45:35","date_gmt":"2016-12-23T02:45:35","guid":{"rendered":"https:\/\/www.tipsandtricks-hq.com\/wp-pdf-stamper\/?p=375"},"modified":"2016-12-23T02:47:01","modified_gmt":"2016-12-23T02:47:01","slug":"pdf-stamper-creating-a-download-now-button-for-emember-members","status":"publish","type":"post","link":"https:\/\/www.tipsandtricks-hq.com\/wp-pdf-stamper\/pdf-stamper-creating-a-download-now-button-for-emember-members-375","title":{"rendered":"PDF Stamper \u2013 Creating a Download Now Button for eMember Members"},"content":{"rendered":"<p>If you offer PDF files to your eMember members\u00a0then this feature may be helpful for you.<\/p>\n<p>The PDF Stamper plugin lets you create a download now button for your eMember members. A logged in eMember user can use that button \u00a0to download the PDF file. The plugin will stamp the file with the eMember user&#8217;s details (name and email address) at the time of download.<\/p>\n<p>Use the following shortcode to place a PDF download now button for eMember members:<\/p>\n<pre>[stamper_download_button_for_emember\u00a0file_url=\"example.com\/url-to-your-file.pdf\"\u00a0button_text=\"Download Now\"]\r\n<\/pre>\n<h2>Using a Custom Button Image with the Download Now Button<\/h2>\n<p>You can use a custom button image for the download now button instead of the text. Use the &#8220;button_image&#8221; parameter in the shortcode to use your custom button image for the button. Below is an example:<\/p>\n<pre>[stamper_download_button_for_emember file_url=\"example.com\/url-to-your-file.pdf\" button_image=\"example.com\/custom-image-url\"]\r\n<\/pre>\n<h2>Opening the PDF Download in a New Window<\/h2>\n<p>Use the &#8220;new_window&#8221; parameter in the shortcode to open the download in a new window. Example shortcode usage below:<\/p>\n<pre>[stamper_download_button_for_emember\u00a0file_url=\"example.com\/url-to-your-file.pdf\"\u00a0button_text=\"Download Now\" new_window=\"1\"]<\/pre>\n<h2>What Variables Can be Stamped?<\/h2>\n<p>This shortcode can only\u00a0stamp the following variables.<\/p>\n<ul>\n<li>{customer_name} \u2013 This will be replaced with the name of the member<\/li>\n<li>{first_name} \u2013\u00a0This will be replaced with the first name of the\u00a0member<\/li>\n<li>{last_name} \u2013\u00a0This will be replaced with the last name of the\u00a0member<\/li>\n<li>{customer_email} \u2013 This will be replaced with the email address of the member<\/li>\n<li>{date} \u2013 Stamping date<\/li>\n<li>{customer_phone} &#8211; Member&#8217;s phone number (only available if you are using the phone number field in eMember)<\/li>\n<li>{customer_address} &#8211; Member&#8217;s address (only available if you are using the address fields in eMember)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you offer PDF files to your eMember members\u00a0then this feature may be helpful for you. The PDF Stamper plugin lets you create a download now button for your eMember members. A logged in eMember user can use that button \u00a0to download the PDF file. The plugin will stamp the file with the eMember user&#8217;s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[5,9],"tags":[24,6],"_links":{"self":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wp-pdf-stamper\/wp-json\/wp\/v2\/posts\/375"}],"collection":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wp-pdf-stamper\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wp-pdf-stamper\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wp-pdf-stamper\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wp-pdf-stamper\/wp-json\/wp\/v2\/comments?post=375"}],"version-history":[{"count":0,"href":"https:\/\/www.tipsandtricks-hq.com\/wp-pdf-stamper\/wp-json\/wp\/v2\/posts\/375\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wp-pdf-stamper\/wp-json\/wp\/v2\/media?parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wp-pdf-stamper\/wp-json\/wp\/v2\/categories?post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wp-pdf-stamper\/wp-json\/wp\/v2\/tags?post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}