Here are the merge-tags that you can use in your WP posts, and what they mean.
%%MSG%%
1) Create a WP “page” with the slug “error”, and it can be accessed at http://YourSite.com/error/
2) In the body of the page, put the text %%MSG%% – followed by whatever copy you want.
3) Enter the URL from Step #1 on your “Products” page, in the field “Error Page URL”
4) Logout of DAP, and log back in for the changes to take effect.
Impact: When someone tries to visit a link that has expired, or a link that they don’t have access to, they will be redirected to the above URL, and the system error message will be shown where you put in the merge code %%MSG%%.
%%SALES_PAGE_URL%%
This text in your blog post/page content, will be replaced by the “Sales Page URL” field from the Products page.
%%AFFDETAILS%%
This will be replaced by the entire Affiliate section from the default home page at YourSite.com/dap/
%%USERPROFILE%%
This will be replaced by the user profile from the default home page at YourSite.com/dap/
%%USERLINKS%%
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/
%%FIRST_NAME%%
This will be replaced by the first-name of the user.
%%EMAIL%%
This will be replaced by the email id of the user.
%%MEMBER_HOME_PAGE%%
This will be replaced by whatever is in “Config > Advanced > URL of your User-Profile page”
%%AFF_LINK%%
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:
<a href=”%%AFF_LINK%%”>%%AFF_LINK%%</a>