{"id":169,"date":"2009-11-23T23:23:24","date_gmt":"2009-11-24T03:23:24","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=169"},"modified":"2015-07-10T13:30:42","modified_gmt":"2015-07-10T20:30:42","slug":"merge-tags-in-wordpress-posts","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/merge-tags-in-wordpress-posts\/","title":{"rendered":"Merge Tags For WordPress Posts &#038; Pages"},"content":{"rendered":"<p>Here are the merge-tags that you can use in your WP posts, and what they mean. (<a href=\"http:\/\/www.digitalaccesspass.com\/doc\/merge-tags-for-email\/\">Click here for merge tags for Autoresponder &amp; Broadcast Emails<\/a>)<\/p>\n<p><a href=\"http:\/\/www.digitalaccesspass.com\/blog\/2015\/03\/responsive-login-templates\/\" target=\"_blank\"><strong>[DAPLoginForm]<\/strong><\/a><\/p>\n<p>This is <a href=\"http:\/\/www.digitalaccesspass.com\/doc\/creating-a-login-page-within-wordpress\/\">better suited for a WP &#8220;page&#8221;<\/a>. This text will be replaced by a login form using which your members can log in to your membership site.<\/p>\n<p><strong>%%AFFDETAILS%%<\/strong><\/p>\n<p>This will be replaced by the entire Affiliate section from the default home page at YourSite.com\/dap\/ . Better suited for a Page.<\/p>\n<p><a href=\"http:\/\/DigitalAccessPass.com\/doc\/dap-user-profile\/\"><strong>[DAPUserProfile]<\/strong><\/a><\/p>\n<p>This will be replaced by the user profile from the default home page at YourSite.com\/dap\/. Better suited for a Page.<\/p>\n<p><a href=\"http:\/\/www.digitalaccesspass.com\/blog\/2015\/03\/responsive-my-content-page\/\" target=\"_blank\"><strong>[DAPMyContent]<\/strong><\/a><\/p>\n<p>This will be replaced by the user links section (the list of what products and what links user currently has access to) from the default home page at YourSite.com\/dap\/. Better suited for a Page.<\/p>\n<p><strong>%%FIRST_NAME%%<\/strong><\/p>\n<p>This will be replaced by the first-name of the user.<\/p>\n<p><strong>%%EMAIL%%<\/strong><\/p>\n<p>This will be replaced by the email id of the user.<\/p>\n<p><strong>%%AFF_LINK%%<\/strong><\/p>\n<p>This will be replaced by the raw affiliate link of the member. If you want it to show up as a link in your blog post, use it like this:<\/p>\n<blockquote><p>&lt;a href=&#8221;%%AFF_LINK%%&#8221;&gt;%%AFF_LINK%%&lt;\/a&gt;<\/p><\/blockquote>\n<p><strong>%%USER_NAME%%<\/strong><\/p>\n<p>This will display the DAP user&#8217;s &#8220;Username&#8221; on the page.<\/p>\n<p><strong>%%USER_ID%%<\/strong><\/p>\n<p>This will display the DAP user&#8217;s ID on the page (ID is a number).<\/p>\n<p><strong>%%FEEDLINK%%<\/strong><\/p>\n<p>Replaces with user&#8217;s personalized RSS feed URL.<\/p>\n<p><strong>%%PRODUCT_DETAILS_&lt;insert-product-id&gt;%%<\/strong><\/p>\n<p>Replaces merge tag with Product-specific details (including links available to the member as part of that Product) on a specific WordPress page\/post.<\/p>\n<p><strong>%%DAPCUSTOMFIELD_&lt;insert-custom-field-name&gt;%%<\/strong><\/p>\n<p>You can display the value of the user&#8217;s own custom fields on your pages, using a merge tag like this:<\/p>\n<p style=\"padding-left: 30px;\">%%DAPCUSTOMFIELD_tax_id%%<\/p>\n<p>In the above example, tax_id is the custom field that you have created in DAP. So if the name of the custom field in DAP were &#8220;ssn&#8221;, then the above merge tag would become %%DAPCUSTOMFIELD_ssn%%<\/p>\n<p><strong><a href=\"http:\/\/DigitalAccessPass.com\/doc\/dap-upline\/\">[DAPUpline]<\/a><\/strong><\/p>\n<p>Displays data of the user&#8217;s &#8220;upline&#8221; affiliate.<\/p>\n<p><a href=\"http:\/\/DigitalAccessPass.com\/doc\/dap-shortcodes\/\"><strong>[DAPComingSoon]<\/strong><\/a><\/p>\n<p>Displays upcoming drip-feed scheduled content.<\/p>\n<p><strong>[DAPRefAffId]<\/strong><\/p>\n<p>Displays id of affiliate who referred visitor to site. If no affiliate set, displays DAP Admin&#8217;s id.<\/p>\n<p><strong>[DAPShowTransactions]<\/strong><\/p>\n<p>Shows list of all transactions\/orders by logged-in user.<\/p>\n<p><strong>[DAPUserSubscriptions]<\/strong><\/p>\n<p>Shows list of all subscriptions by logged-in user.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are the merge-tags that you can use in your WP posts, and what they mean. (Click here for merge tags for Autoresponder &amp; Broadcast Emails) [DAPLoginForm] This is better suited for a WP &#8220;page&#8221;. This text will be replaced by a login form using which your members can log in to your membership site. [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[27,42,39,47,26,22],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/169"}],"collection":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/comments?post=169"}],"version-history":[{"count":22,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/169\/revisions"}],"predecessor-version":[{"id":4988,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/169\/revisions\/4988"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}